[Vala] widget bindings complete



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



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