python - using a signal not in introspection

Havoc Pennington hp at redhat.com
Wed Apr 25 14:56:07 PDT 2007


While I'm asking questions, it looks like add_signal_receiver always 
resolves the passed-in bus name. I think this is frequently undesirable, 
since it means you have to monitor that bus name and re-connect if it 
gets a new owner. For example, if you are monitoring the current 
Rhythmbox song and the user exits and restarts the app, it would break.
This is why the glib bindings have the new_for_name/new_for_name_owner 
distinction.

Is there a way to not resolve the name?

Havoc



More information about the dbus mailing list