help porting from GtkClist to GtkTreeView
- From: Ramsés Morales <ramses computer org>
- To: gtk-list gnome org, gtk-app-devel-list gnome org
- Subject: help porting from GtkClist to GtkTreeView
- Date: 28 Feb 2002 19:19:44 -0500
Hi.
On GTK+ 1.2, to add data to a row on a GtkClist, I used
gtk_clist_set_row_data.
I have an idea on how to get the same effect on GtkTreeView, for
example:
-Create a model with TREE columns.
-create the tree view for that model with TWO columns
-The "invisible" column would be the "row data".
If I want to store a struct on the model, I would use a G_TYPE_POINTER.
Is that a good idea? Is that right? Is that how is it suposed to be?
Thanks for your help.
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]