gtk_multi_selection_new < this one works fine too: use ctrl (& see line 60 in the sand_box)
This commit is contained in:
parent
aff067662d
commit
56b592e075
|
@ -57,7 +57,7 @@ static void and_now_let_s_climb_that_tree (GtkWidget *in_that_box)
|
|||
if (1) printf("The item n°%d of my array is the string \"%s\"\n",\
|
||||
selected, gtk_string_list_get_string (my_string_list, selected));
|
||||
|
||||
GtkNoSelection *my_selection = gtk_single_selection_new (G_LIST_MODEL (my_string_list));
|
||||
GtkNoSelection *my_selection = gtk_multi_selection_new (G_LIST_MODEL (my_string_list));
|
||||
|
||||
GtkListItemFactory *my_factory = gtk_signal_list_item_factory_new ();
|
||||
g_signal_connect (my_factory, "setup", G_CALLBACK (setup_cb), NULL);
|
||||
|
|
Loading…
Reference in New Issue