Re: LibGlade XML root widget
- From: James Henstridge <james daa com au>
- To: Yochai Shefi-Simchon <joch sgitlv telaviv sgi com>
- Cc: gnome-devel-list gnome org
- Subject: Re: LibGlade XML root widget
- Date: Tue, 26 Sep 2000 12:59:35 +0800 (WST)
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]