Re: LibGlade XML root widget



On Mon, 25 Sep 2000, Yochai Shefi-Simchon wrote:

> 
> hi
> 
> i use libglade to dynamically load my gtk+ interface from an XML file. i
> use the glade_xml_new function, with 'NULL' as second argument, because
> i want to load the whole interface.
> the problem is i need to get the root widget of the interface
> (typically, the top level window), without knowing this widget's name,
> so i can't use glade_xml_get_widget.
> does anyone have an idea?

There is not necessarily just one root widget in the interface file.  Why
can't you use the name of the widget?

James.

-- 
Email: james daa com au
WWW:   http://www.daa.com.au/~james/






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