GtkIconView items
- From: Alexander Kuleshov <kuleshovmail gmail com>
- To: gtk-app-devel-list gnome org
- Subject: GtkIconView items
- Date: Tue, 22 Jun 2010 11:14:51 +0600
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]