glxaudio.EventBus module¶
-
class
glxaudio.EventBus.EventBusClient[source]¶ Bases:
objectDescription: The
EventBusClientobject is The bus it interconnect WidgetApplicationis a special case where theApplication.dispatch()rewrite theEventBusClient.dispatch().-
connect(detailed_signal, handler, args=None)[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 (list) – 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
-
emit(detailed_signal, data=None)[source]¶ Every Object emit signal in direction to the Application.
Parameters: - detailed_signal (str) – a string containing the signal name
- data (dict) – additional parameters arg1, arg2
-
events_dispatch(detailed_signal, args=None)[source]¶ Inform every children or child about a event and execute a eventual callback
Parameters: - detailed_signal (str) – a string containing the signal name
- args (list) – additional parameters arg1, arg2
-
events_list¶
-
get_application()[source]¶ Get the Galaxie-Curses Application as set by set_application()
Returns: a Galaxie-Curses Application or None is not set Return type: Galaxie-Curses Application or None
-