Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using GIO high level DBus API - DBusProxy object. I'd like to emit signal on this object (faking signal coming from remote interface).

I do something like this:

proxy.emit('g-signal', sender_name, signal, params)

signal is emitted and then catch - sender name and signal parameters are OK, however the params is always None in signal handler, no matter what I put there (tried GLib.Variant types and also python types). Signals received normally do have params value defined.

What is the issue - how to set params in the emit functions?

Thanks for any help.

share|improve this question
4  
This is a programming question. You'll probably get better answers from a programmer community in Stack Overflow. –  Flimm Jan 4 '13 at 14:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.