[LIP] issues with glade_xml_new()

Abhir Joshi <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
When I use glade_xml_new() to create a set of widgets from an XML
description, it automatically does a gtk_widget_show_all() for the
root widget after creating the widgets.  So as soon as the widgets are
created, they are drawn on the screen.  How can I inhibit this action?
I want the widgets to be created and be hidden unless I explicitly do
gtk_widget_show_all() when required.

Further, consider a window with an hbox.  This hbox contains a vbox
named "xyz vbox".  The description for all this is contained in a file
named filename.glade.  Now if I do glade_xml_new("filename.glade",
"xyz vbox"), it creates the whole window and displays it on the
screen.  It is supposed to create only the tree of widgets starting
from "xyz vbox".

I am using libglade-0.16-4 and gtk+-1.2.10, those that come with
RHL7.2.

-- 
Abhir Joshi
TransWarp Systems
Astronomical Working Models and 3D Simulation Softwares
http://education.vsnl.com/abhir/


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.