1008 |
|
|
1009 |
g_io_channel_set_buffered (io, FALSE); |
g_io_channel_set_buffered (io, FALSE); |
1010 |
|
|
1011 |
buf = g_string_new ("\"Abstract Emotion\",\"Complexity\",\"Instances\"\n"); |
buf = g_string_new ("\"Affect Term\",\"Complexity\",\"Instances\"\n"); |
1012 |
|
|
1013 |
for (gint xx=0; xx < g_ptr_set_len (cc->coverset); xx++) |
for (gint xx=0; xx < g_ptr_set_len (cc->coverset); xx++) |
1014 |
{ |
{ |
1271 |
gtk_tree_view_insert_column_with_data_func |
gtk_tree_view_insert_column_with_data_func |
1272 |
(GTK_TREE_VIEW (cc->coverview), |
(GTK_TREE_VIEW (cc->coverview), |
1273 |
-1, |
-1, |
1274 |
"Abstract Emotion", |
"Affect Term", |
1275 |
gtk_cell_renderer_text_new (), |
gtk_cell_renderer_text_new (), |
1276 |
(GtkTreeCellDataFunc) _cc_extract_cover_label, |
(GtkTreeCellDataFunc) _cc_extract_cover_label, |
1277 |
cc, |
cc, |
1757 |
"exemplars you select below. These situations will " |
"exemplars you select below. These situations will " |
1758 |
"be arranged into slides. Each slide " |
"be arranged into slides. Each slide " |
1759 |
"will contain three situations which evoke the same " |
"will contain three situations which evoke the same " |
1760 |
"emotion and one situation which evokes a different " |
"affect and one situation which evokes a different " |
1761 |
"emotion. You are challenged to pick out the " |
"affect. You are challenged to pick out the " |
1762 |
"odd-ball situation."); |
"odd-ball situation."); |
1763 |
gtk_box_pack_start (GTK_BOX (box3), label, FALSE, FALSE, 0); |
gtk_box_pack_start (GTK_BOX (box3), label, FALSE, FALSE, 0); |
1764 |
|
|
1810 |
"You are challenged to apply the Aleader method " |
"You are challenged to apply the Aleader method " |
1811 |
"to analyze the film. Instead of plowing through " |
"to analyze the film. Instead of plowing through " |
1812 |
"beginning to end, you can try to save time by " |
"beginning to end, you can try to save time by " |
1813 |
"finding just one evocative example of each emotion."); |
"finding just one evocative example of each affect."); |
1814 |
gtk_box_pack_start (GTK_BOX (box4), label, FALSE, FALSE, 0); |
gtk_box_pack_start (GTK_BOX (box4), label, FALSE, FALSE, 0); |
1815 |
|
|
1816 |
frame = gtk_frame_new (0); |
frame = gtk_frame_new (0); |
2128 |
static void |
static void |
2129 |
app_emotion_browser_reload() |
app_emotion_browser_reload() |
2130 |
{ |
{ |
2131 |
for (gint sx=IP_INTENT_KILLS; sx <= IP_INTENT_READY; sx++) { |
for (gint sx=IP_INTENT_PROTESTS; sx <= IP_INTENT_READY; sx++) { |
2132 |
//g_warning ("intent=%d", sx); |
//g_warning ("intent=%d", sx); |
2133 |
|
|
2134 |
GtkWidget *view = |
GtkWidget *view = |
2218 |
gtk_window_set_default_size (GTK_WINDOW (toplevel), |
gtk_window_set_default_size (GTK_WINDOW (toplevel), |
2219 |
136 * ge_font_width (GTK_WIDGET (toplevel)), |
136 * ge_font_width (GTK_WIDGET (toplevel)), |
2220 |
21 * ge_font_height (GTK_WIDGET (toplevel))); |
21 * ge_font_height (GTK_WIDGET (toplevel))); |
2221 |
gtk_window_set_title (GTK_WINDOW (toplevel), "Emotion Browser"); |
gtk_window_set_title (GTK_WINDOW (toplevel), "Affect Browser"); |
2222 |
|
|
2223 |
g_object_weak_ref (G_OBJECT (toplevel), (GWeakNotify) _eb_deleted, NULL); |
g_object_weak_ref (G_OBJECT (toplevel), (GWeakNotify) _eb_deleted, NULL); |
2224 |
|
|
2226 |
gtk_container_add (GTK_CONTAINER(toplevel), notebook); |
gtk_container_add (GTK_CONTAINER(toplevel), notebook); |
2227 |
gtk_notebook_set_tab_pos (GTK_NOTEBOOK(notebook), GTK_POS_LEFT); |
gtk_notebook_set_tab_pos (GTK_NOTEBOOK(notebook), GTK_POS_LEFT); |
2228 |
|
|
2229 |
for (xx=IP_INTENT_KILLS; xx <= IP_INTENT_READY; xx++) { |
for (xx=IP_INTENT_PROTESTS; xx <= IP_INTENT_READY; xx++) { |
2230 |
GtkWidget *sw; |
GtkWidget *sw; |
2231 |
GtkWidget *listview; |
GtkWidget *listview; |
2232 |
GtkCellRenderer *cell_renderer; |
GtkCellRenderer *cell_renderer; |