However, in trying to find the signal handler signatures for
Gtk.Button, I found just:
public signal void activate ( ) ;
public signal void clicked ( ) ;
public signal void enter ( ) ;
public signal void leave ( ) ;
public signal void pressed ( ) ;
public signal void released ( ) ;
- no arguments, which is about a much sense as I got from the vapi
file, but we know from the glade example that the click signal handlers
do take arguments:
http://live.gnome.org/Vala/GladeSample
[CCode (instance_pos = -1)]
public void on_bHelloWorld_clicked (Gtk.Widget widget) {
stdout.printf ("Hello World!\n");
}
Something funny is going on as by the time the handler sees the event
both the event-generating object and the handling object are being
passed on the stack.