Hello!
The way to retrieve selection data from a GtkList is to use GList
argument.
When you connect list_selection_changed do this
GList *dlist=NULL;
GtkObject *list_item;
(GtkList *list is that which is passed through handler's arguments)
dlist=GTK_LIST(list)->selection;
while(dlist) /* This to be sure that a selection exists */
{
list_item=GTK_OBJECT(dlist->data);
dlist=dlist->next; /* This to retrieve data about the next list item
selected */
}
After doing this you have the selected list_item(s) as GtkObject and you
can use it (them). If you set data before (using gtk_object_set_data())
you will have other informations about selection.
I hope to be useful to you.
Bye!
Rosa
_______________________________________________
Glade-devel maillist - [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel