Re: [Vala] Action signals

2009-04-06 Thread gege2061
I don't know the difference, but this flags is necessary for use the key binding. http://library.gnome.org/devel/gobject/stable/gobject-Signals.html#GSignalFlags http://library.gnome.org/devel/gtk/stable/gtk-Bindings.html 2009/4/6 Yu Feng rainwood...@gmail.com Hi, I was working on a related

Re: [Vala] Action signals

2009-04-06 Thread Andrea Bolognani
On Mon, 6 Apr 2009 10:24:25 +0200 gege2061 gege2...@redaction-developpez.com wrote: I don't know the difference, but this flags is necessary for use the key binding. 2009/4/6 Yu Feng rainwood...@gmail.com What's the difference between an action signal and other signals? Action signal

Re: [Vala] Action signals

2009-04-05 Thread gege2061
This doesn't work. I have tested with the action keyword, but I have a syntax error and the CCode attribute seems to not work. My code: public class Test { [CCode (action_signal = true)] public action void test_action (); } 2009/1/6 Yu Feng rainwood...@gmail.com Based on my

Re: [Vala] Action signals

2009-01-05 Thread Yu Feng
Based on my understanding of valac before the recent refactoring, it should be a few line patch around 'signal binding' related code; get a new CCode attribute such as 'action_signal = true' and change the type of the signal to ACTION if so. Yu On Mon, 2009-01-05 at 20:04 +0100, gege2061 wrote: