Signals with more than one parameter

Havoc Pennington hp at redhat.com
Fri May 18 08:28:37 PDT 2007


Hi,

Steve Kreyer wrote:
> 1.) glib doesnt provide a matching closure. Do I have to implement it by
> myself ? If yes, is there any doc outside on how I can do this ?

glib-genmarshal is used for this. How to do it is a bit outside the 
scope of this list, but if you can't find docs then look at any 
significant-sized gtk app and it probably has an example.

> I get an error on client side while registering the signal:
> ** (process:8607): WARNING **: No marshaller for signature of signal
> 'kbd_event'

You probably need to use dbus-glib's code generation stuff to generate 
the marshaller, though I'm not sure.

Havoc




More information about the dbus mailing list