[Vala] Detailed signals

2010-12-02 Thread Erick PĂ©rez Castellanos
Hi: How can I connect to a detailed signal, eg: 'changed::x' as you can see in the GSettings Devhelp code: -sample--- The changed signal void user_function (GSettings *settings, gchar *key, gpointer user_data) : Run Last / Has Details The changed signal is emitted

Re: [Vala] Detailed Signals

2010-06-08 Thread Luca Bruno
On Tue, Jun 08, 2010 at 04:23:31AM -0400, Nate Stedman wrote: On this subject, is it possible to use a detailed name that is not a string literal? I would like to pass a function an object and a property to set the handler on, like this: obj.notify[prop].connect(notify); When compiling

Re: [Vala] Detailed Signals

2010-06-08 Thread Nate Stedman
On this subject, is it possible to use a detailed name that is not a string literal? I would like to pass a function an object and a property to set the handler on, like this: obj.notify[prop].connect(notify); When compiling (with 0.9.1): ** (valac:5928): CRITICAL **: vala_string_literal_eval:

[Vala] Detailed Signals

2010-06-07 Thread Michael Terry
I notice that the release notes for 0.3.4 said support was added for detailed signals [1]. What's the syntax for it? Super-obvious attempts at using them didn't work. [1] You know, a signal like changed::foobar -mt ___ vala-list mailing list

Re: [Vala] Detailed Signals

2010-06-07 Thread Luca Bruno
On Mon, Jun 07, 2010 at 09:55:36PM -0400, Michael Terry wrote: I notice that the release notes for 0.3.4 said support was added for detailed signals [1]. What's the syntax for it? Super-obvious attempts at using them didn't work. [1] You know, a signal like changed::foobar