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



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