Re: [Vala] Genie syntax for connect



On Wed, 2010-10-13 at 19:51 +0200, Jan Hudec wrote:
On Wed, Oct 13, 2010 at 11:31:09 +0200, Nicolas wrote:
        destroy.connect(Gtk.main_quit)
        spin_box.value_changed.connect(spinbox_value)
        slider.value_changed.connect (slider_value)
        button.clicked.connect(Gtk.main_quit)

I also update the "[Genie] Synchronizing Widgets" in code.valaide.org

That however avoids anonymous functions, which the original question
explicitly asked about.


How does vala syntax handle closures for signals using non-deprecated
style?

jamie




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]