[Glade-users] Glade 3 & treeview
Tristan Van Berkom
Tristan Van Berkom <tristan.van.berkom@gmail.com>
Fri, 19 Nov 2004 08:50:51 -0500
On Fri, 19 Nov 2004 14:33:41 +0100 (CET), tacorner@chello.at
<tacorner@chello.at> wrote:
> It looks like I will code the treeviews manually for now. In the process I will
> probably come up some ideas for helpful glade/libglade support. The major
> thing is to be able to add GtkTreeViewColumns to be inserted
> in GtkTreeViewwidgets. Also it would be helpful to be able to set the width,
> title and other properties of the column. In addition it would be nice to
> be able to create GtkListStores and GtkTreeStores and associate one to a
> GtkTreeView widget. Is this kind of support planned?
Yes it is planned, I dont know when I can get it in though.
GtkTreeStore & GtkTreeViewColumn are non-widget GObjects
(which is what I'm working on right now), right now my version of
the glade-3 code supports addition of these types of widgets.
The major problem is that I'm clueless about treeviews (the whole
MVC implementation drives me up the wall because I've never worked
with it before)... soooo, I imagine you'll be able to add a single child to the
treeview of type GtkTreeStore (or whatever GtkTreeModel implementation),
and then add GtkTreeColumn children to the GtkTreeView... I dont know
how the column types are going to work though....
Cheers,
-Tristan