Glade and xml files

From: Date: Wed, 26 May 2004 14:28:51 +0000
Subject: Glade and xml files
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4577@lists.php.net to get a copy of this message
Been playing with the Windows version of glade to produce interfaces to include as xml files in my projects. Glades produces xml files which look something like this... <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> <glade-interface> <widget class="GtkWindow" id="window1"> <property name="visible">True</property> <property name="title" translatable="yes">window1</property> <property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="window_position">GTK_WIN_POS_NONE</property> <property name="modal">False</property> <property name="resizable">True</property> These do not seem to work with php-gtk, but this does... <?xml version="1.0"?> <GTK-Interface> <widget> <class>GtkWindow</class> <name>windowMain</name> <width>150</width> <height>80</height> <title>PHP-GTK-Glade for world domination</title> <type>GTK_WINDOW_TOPLEVEL</type> <position>GTK_WIN_POS_NONE</position> <modal>False</modal> <allow_shrink>False</allow_shrink> <allow_grow>True</allow_grow> <auto_shrink>False</auto_shrink> Now I see the obvious difference but it defeats the object of using glade if I have to edit the xml files it produces. Other people seem to have been successful using this. Any comments? Regards, Rhys Campbell DA Systems e: rhys.campbell@da-systems.co.uk t: +44(0)1494 512626 f: +44(0)1494 512727 w: www.da-systems.co.uk

« previous php.gtk.general (#4577) next »