Re: [Vala] Action signals



Hi,

I was working on a related patch
http://bugzilla.gnome.org/show_bug.cgi?id=571685

Although 'action' keyword is not included in the patch.

What's the difference between an action signal and other signals?

Yu
On Sun, 2009-04-05 at 20:15 +0200, gege2061 wrote:
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 <rainwoodman gmail com>
        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:
        > Hello,
        >
        > Have you fixed this problem:
        >
        http://mail.gnome.org/archives/vala-list/2008-April/msg00076.html ?
        >
        > --
        > Nicolas Joseph
        >
        > Responsable de la rubrique GTK+ de developpez.com /
        > In charge of the GTK+ section on developpez.com
        >
        > http://nicolasj.developpez.com
        
        > _______________________________________________
        > Vala-list mailing list
        > Vala-list gnome org
        > http://mail.gnome.org/mailman/listinfo/vala-list
        



-- 
Nicolas Joseph

Responsable des rubriques C et GTK+ de developpez.com /
In charge of the C and GTK+ sections on developpez.com

http://nicolasj.developpez.com




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