New DBusSignal (gb.dbus)

Dim hDBusSignal As DBusSignal
hDBusSignal = New DBusSignal ( Connection As DBusConnection, Interface As String [ , Object As String, Signal As String, Every As Boolean ] ) [ As "EventName" ]

Create a new signal observer.

  • Connection is the bus you want to connect to.

  • Interface is the interface where the signal is declared.

  • Set Every to TRUE if you want to catch signals sent to all applications on the bus. Otherwise you will get signals sent to your application only.

If you need more control on what you catch exactly, use the DBusObserver class directly.