Re: [glade--]Re: glade-- and gtkmm-1.3



On Fri, 2002-04-12 at 12:42, Christof Petig wrote:
> Petr Ferschmann wrote:

> > ad 1) How much differs glade and glade-2 in file format? 
> 
> See yourself:
> 
> ---- glade 1 ------
> <GTK-Interface>
> 
> <project>...</project>
> 
> <widget>
>    <class>GtkWindow</class>
>    <name>window1</name>
>    <title>window1</title>
>    <type>GTK_WINDOW_TOPLEVEL</type>
> ...
>    <widget>
>      <class>
> ...
> 
> --- glade 2 --------
> <glade-interface>
> 
> <widget class="GtkWindow" id="window1">
>    <property name="visible">True</property>
>    <property name="title" translatable="yes">window1</property>
> ...
>    <child>
>      <widget class="GtkVBox" id="vbox1">
>        <property name="visible">True</property>
> ...
> ------

The new DTD is included in libglade, if people need that.
Quite a few widget properties changed names, to match the GTK+ property
names. And there are quite a few new properties and other changes.
You'll probably have to check through each widget (as I've had to!)

The structure of the XML changed a bit as well, especially the way
packing properties are stored.

By they way, do you still use the extra C++ properties we added
(Separate File, Use Heap, Separate Class, Visibility)?
We added an agent parameter to the property element so we can still 
include these in the XML, e.g.

  <property agent="glademm" name="separate_file">True</property>

Does that sound OK?

Unfortunately I haven't updated Glade to load/save that yet, but I
should get to it this week.

Damon





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]