[Gambas-user] DBUS signal questions

Benoît Minisini g4mba5 at gmail.com
Tue Apr 28 17:21:54 CEST 2020


Le 25/04/2020 à 09:10, Bruce a écrit :
> Two questions
> 
> 1) There doesn't seem to be any way to stop watching for a signal?
> 

You have the Enabled property for that.

> 
> 2) There doesn't seem to be a way to watch for a signal from a specific 
> object on the server.
> 

As written in the documentation, you can use the DBusObserver class for 
that.

Look at the source code of DBusSignal : it is a thin wrapper around 
DBusObserver. It just does not have an "Object" argument in its constructor.

Regards,

-- 
Benoît Minisini


More information about the User mailing list