1 public class Foo
: Object
{
2 [CCode (cname
= "baz")]
3 public signal void foo ();
4 [CCode (cname
= "baz-bar")]
5 public signal void foo_bar ();
6 [CCode (cname
= "baz-virt")]
7 public virtual signal void foo_virt () {
20 foo
.foo
.connect (callback);
21 foo
.foo_bar
.connect (callback);
30 Signal
.emit_by_name (foo
, "baz");
32 Signal
.emit_by_name (foo
, "baz-bar");
34 Signal
.emit_by_name (foo
, "baz-virt");