Re: [Vala] 0.7 signal syntax
- From: Levi Bard <taktaktaktaktaktaktaktaktaktak gmail com>
- To: lode leroy <lode leroy gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] 0.7 signal syntax
- Date: Tue, 21 Apr 2009 09:12:00 -0400
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?
That is the correct syntax.
What is the error you're getting?
I suspect it wants the first argument of on_expose() to be a Gtk.Widget.
--
http://homes.eff.org/~barlow/EconomyOfIdeas.html
http://www.dreamsongs.com/MobSoftware.html
http://www.gnu.org/philosophy/shouldbefree.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]