Re: [Vala] How to use GLib.Signal.connect?



On 31/01/2012 17:09, Luca Bruno wrote:
<snip>
    Can anyone give me an example of how to use Signal.connect() or
    suggest an alternative method?


Cast (Callback)this.open_file_callback


Thanks Luca, that worked - the line is now
Signal.connect(osxApp, "NSApplicationOpenFile", (GLib.Callback)(this.open_file_callback), null);

Regards

Pete



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