> 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 _______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
