glxeveloop.bus module¶
-
class
glxeveloop.bus.
Bus
[source]¶ Bases:
glxeveloop.properties.debug.DebugProperty
- Description
The
EventBusClient
object is The bus it interconnect Widget-
property
subscriptions
¶ Return the subscriptions list
- Returns
event buffer
- Return type
dict
-
connect
(detailed_signal: object, handler: object, *args: object)[source]¶ The connect() method adds a function or method (handler) to the end of the event list for the named detailed_signal but before the default class signal handler. An optional set of parameters may be specified after the handler parameter. These will all be passed to the signal handler when invoked.
- Parameters
detailed_signal (str) – a string containing the signal name
handler (handler) – a function handler
args (tuple) – additional parameters arg1, arg2
-
disconnect
(detailed_signal, handler)[source]¶ The disconnect() method removes the signal handler with the specified handler from the list of signal handlers for the object.
- Parameters
detailed_signal (str) – a string containing the signal name
handler (handler) – a function handler