1 class Maman
.Foo
: Object
{
2 [Signal (detailed
= true)]
3 public signal void bar ();
7 bool detailed1
= false;
8 bool detailed2
= false;
9 string detail1
= "detail1";
10 string detail2
= "detail2";
12 var foo
= new Maman
.Foo ();
13 foo
.bar
[detail1
].connect (() => { detailed1
= true; });
14 foo
.bar
[detail2
].connect (() => { detailed2
= true; });
17 assert (detailed1
&& detailed2
);