[Vala] 0.7 signal syntax
- From: lode leroy <lode leroy gmail com>
- To: vala-list gnome org
- Subject: [Vala] 0.7 signal syntax
- Date: Tue, 21 Apr 2009 09:56:35 +0200
in http://live.gnome.org/Vala/CairoSample
I try replacing the line
drawing_area.expose_event += this.on_expose;
with
drawing_area.expose_event.connect(this.on_expose);
but this gives an error... could anyone enlighten me on what is the
correct syntax?
-- lode
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]