On Tue, 2004-04-20 at 21:35, todd wrote:But in a previous post I had made I asked the question if I could use glade_xml_construct to join, at runtime, multiple .glade files into
Hi,
I spent the afternoon merging glade files together in my project as a result of learning that doing the following is incorrect:
GladeXML *xml = glade_xml_new( "file.glade", NULL, NULL );
glade_xml_construct( xml, "file2.glade", NULL, NULL );
glade_xml_construct() is for language bindings which do not use glade_xml_new(): http://developer.gnome.org/doc/API/2.0/libglade/GladeXML.html#glade-xml-construct
one GladeXML pointer. I've noticed that this usage seems to work without any problems. However, because I've was told it is not
correct usage I decided to manually merge all my glade files into
one glade file. As a result, the one glade file contains multiple
widget id's that are not unique. So, the script scans through
a single glade file and appends a unique number to each non-unique
widget id. The reason I need access to all the widget id's through
one GladeXML is because of the system i'm building that allows me
to bind sql to gtk via and xml schema as i described in yet another
post. In writting the xml that binds sql to xml I think it would of
course be useful to integrate this into glade but of course not as
a utility that is the main focus of glade but as a plugin for people
that would like to bind sql to gtk.
-todd _______________________________________________ Glade-devel maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/glade-devel
