For the conversion of XML file, simply use
gtk-builder-convert<http://library.gnome.org/devel/gtk/stable/gtk-builder-convert.html>in
the Makefile.am

The only changes are in the autogenerated class (if you want I can create
this class for make example).

No rush, of course, but if I starts use XML UI, I prefer start with
GtkBuilder ;)

2008/6/24 Sam Liddicott <[EMAIL PROTECTED]>:

> I can amend the xslt to convert glade xml to gtkbuilder format and put that
> in the .c file.
>
> Hopefully the transformation will be mild.
>
> However there is no rush, I think glade released will support gtkbuilder
> format before libglade vanishes.
>
> I'll patch vala-gen-project to ad glade support to makefile.am from the
> start.
>
> Please let me know how you get on.
> I notice wordpress has butchered the quotes so I need to publish
> makefile.am as a download.
>
> Sam
>
> -----Original Message-----
> From: gege2061 <[EMAIL PROTECTED]>
> Sent: 24 June 2008 20:46
> To: Sam Liddicott <[EMAIL PROTECTED]>
> Cc: [email protected]
> Subject: Re: [Vala] widget bindings complete
>
> Hello,
>
> It's a very interesting tool, I was looking for precisely the best way
> to integrate an interface creates by glade!
>
> But libglade is deprecated, is it possible do same for gtkbuilder?
>
> 2008/6/24 Sam Liddicott <[EMAIL PROTECTED]>:
> > Today I did my first full widget-binding project.
> >
> > Full details are at:
> > http://www.liddicott.com/~sam/?p=98<http://www.liddicott.com/%7Esam/?p=98>
> >
> > In brief, vala superclasses are automatically generated from glade files.
> >
> > My vala subclass only has to have:
> >    construct {
> >        /* can't derive this text automatically yet */
> >        this.connect_signals("glade_vala_demo_window_");
> >    }
> >
> >
> > in order to connect any signals. The C translation of the vala namespace
> > has to be passed, sadly.
> >
> > I can access any Gtk widgets with:
> > this.widgets.gladeid
> >
> > Sam
> > _______________________________________________
> > Vala-list mailing list
> > [email protected]
> > http://mail.gnome.org/mailman/listinfo/vala-list
> >
>
>
>
> --
> Nicolas Joseph
>
> Responsable de la rubrique GTK+ de developpez.com /
> In charge of the GTK+ section on developpez.com
>
> http://nicolasj.developpez.com
>
>


-- 
Nicolas Joseph

Responsable de la rubrique GTK+ de developpez.com /
In charge of the GTK+ section on developpez.com

http://nicolasj.developpez.com
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to