Re: Glade and xml files

From: Date: Wed, 26 May 2004 17:28:51 +0000
Subject: Re: Glade and xml files
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4580@lists.php.net to get a copy of this message
Hi! PHP-GTK don't support the libglade of GTK2 if you use the libglade of GTK1.4 version or < you can works whitout errors. El mié, 26-05-2004 a las 16:28, Rhys Campbell escribió: > 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 (#4580) next »