[Vala] Signals for GType fundanmental classes.
- From: Yu Feng <rainwoodman gmail com>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] Signals for GType fundanmental classes.
- Date: Sun, 23 Nov 2008 04:45:21 -0500
http://bugzilla.gnome.org/show_bug.cgi?id=561989
test case:
class AAA {
public AAA() {
}
public signal void changed();
public void change() {
changed();
}
public static int main(string[] args) {
AAA aaa = new AAA();
aaa.changed+= (o) => {
message("hello");
};
aaa.change();
return 0;
}
}
Regards,
Yu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]