Re: [gtk-list] Re: clist selected row function



> GTK_CLIST(gtkclist)->selection, which is a GList of the
> GtkCListRow pointers for selected rows.
> 
> Assuming you have set the row data uniquely, you can use
> gtk_clist_find_row_from_data(clist,
> 	((GtkCListRow *)GTK_CLIST(clist)->selection->data)->data);


This is incorrect, it was changed before the 1.0 release. clist->selection
is a glist where the data pointer is the row numbers of the selected rows.
Cast like: row = (gint) list->data





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]