Re: [Vala] widget bindings complete



gege2061 wrote:
For the conversion of XML file, simply use gtk-builder-convert in the Makefile.am

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

If you do that, I'll fixup the rest.

Sam

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

2008/6/24 Sam Liddicott <sam liddicott com>:
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 <gege2061 redaction-developpez com>
Sent: 24 June 2008 20:46
To: Sam Liddicott <sam liddicott com>
Cc: vala-list gnome org
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 <sam liddicott com>:
> Today I did my first full widget-binding project.
>
> Full details are at:
> http://www.liddicott.com/~sam/?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
> Vala-list gnome org
> 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



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