Hello,

I have a gtkiconview in my C/gtk+ application. In this GtkIconView i
load images from GList like thumbnails. How can i get selecting item
in this GtkIconView? I try so:

....
g_signal_connect(mw->view,"selection-changed",G_CALLBACK(thumbnail_selected),mw);
....


void thumbnail_selected(GtkWidget* widget, MainWin* mw)
{
   GList* list = gtk_icon_view_get_selected_items(mw->view);

  // And i try for example:
   printf(a->data);
}

But nothing output. How can i get access to GtkIconView items?

Thank you
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to