Re: [gtk-list] Re: clist selected row function
- From: Jay Painter <jpaint serv net>
- To: gtk-list redhat com
- cc: rruth computer org
- Subject: Re: [gtk-list] Re: clist selected row function
- Date: Mon, 27 Apr 1998 17:23:55 -0700 (PDT)
> 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]