Re: [Vala] How to use GLib.Signal.connect?
- From: Pete Fotheringham <pete fotheringham codethink co uk>
- To: Luca Bruno <lethalman88 gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] How to use GLib.Signal.connect?
- Date: Wed, 01 Feb 2012 04:06:06 +0000
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]