R: [PHP-GTK] Glade and xml files
| From: | Dimitri Giardina | Date: | Wed, 26 May 2004 14:46:16 +0000 |
| Subject: | R: [PHP-GTK] Glade and xml files | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4578@lists.php.net to get a copy of this message | ||
you must know that php-gtk uses glade-1.0.
bye
Dimitri Giardina
System Administrator & Internet Programmer
CD Informatica Srl.
Chieti Scalo (CH) [ ITALY ]
> -----Messaggio originale-----
> Da: Rhys Campbell [mailto:rhys.campbell@da-systems.co.uk]
> Inviato: mercoledì 26 maggio 2004 16.29
> A: PHP-GTK Mailing List (E-mail)
> Oggetto: [PHP-GTK] Glade and xml files
>
>
> 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
>
>