[Vala] widget bindings complete
- From: Sam Liddicott <sam liddicott com>
- To: vala-list gnome org
- Subject: [Vala] widget bindings complete
- Date: Tue, 24 Jun 2008 15:47:59 +0100
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]