Re: [gtk-list] Associating userdata with rows/cells in a clist/ctree.
- From: Geert Bevin <gbevin thunderstorms org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Associating userdata with rows/cells in a clist/ctree.
- Date: Mon, 13 Sep 1999 13:37:31 +0200
>From the references guide :
void gtk_clist_set_row_data(GtkCList *clist, gint row, gpointer data);
void gtk_clist_set_row_data_full(GtkCList *clist, gint row, gpointer
data, GtkDestroyNotify destroy);
gpointer gtk_clist_get_row_data(GtkCList *clist, gint row);
gint gtk_clist_find_row_from_data(GtkCList *clist, gpointer data);
Per Erik Stendahl wrote:
>
> Hi.
>
> Is there any (easy) way I can associate some userdata with each
> row or cell in a GtkCList or GtkCTree? There is a "gpointer data"
> in GtkCListRow; is it used for anything? I would prefer not having
> to have an external structure for mapping GtkCListRows to data.
--
Geert Bevin - gbevin@thunderstorms.org
Montenegrostraat 11 1060 Brussels
BELGIUM 0477/302.599
--------------------------------------
>> Idealists have to communicate <<
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]