Re: GtkBuilder partial tree construction



On Tue, 2007-06-26 at 17:34 +0300, Kalle Vahlman wrote:
> I just edited the demo.ui from gtk-demo to only contain the treemodel
> and the treeview, coded up a little thing that loaded that treeview
> and stuffed it inside a window created by hand. Everything seemed to
> work fine, so I don't think the invisible window is necessary with
> GtkBuilder (is it with libglade?). 

Glade creates it, but you ignore it by specifying the widget as the root
item. If we are using one top-level widget/window per file then, yes,
you can just use the widget as the root node in the XML file.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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