| Trees | Indices | Help |
|
|---|
|
|
InputManager provides a common place to retrieve input events coming from a GUI toolkit, additional input sources or even a network. InputEvents can be pushed by elisa.core.components.input_provider.InputProviders or be polled by the InputManager, depending on the implementation chosen: elisa.core.components.input_provider.PollInputProvider or elisa.core.components.input_provider.PushInputProvider.
Other objects can connect to the manager's signals that are emitted when elisa.core.input_event.InputEvents coming from elisa.core.components.input_provider.InputProviders are received.
| Instance Methods | |||
|
|||
|
|||
|
|||
| elisa.core.utils.defer.Deferred |
|
||
| elisa.core.utils.defer.Deferred |
|
||
|
Inherited from Inherited from |
|||
| Inherited from manager.Manager | |||
|---|---|---|---|
|
|||
| Class Variables | |
__gsignals__ = {'input_event':(gobject.SIGNAL_RUN_LAST, gobjec
|
|
str
|
entry_point = 'elisa.core.components.input_provider'the entry point listing providers in plugins |
|
Inherited from |
|
| Instance Variables | |
| Inherited from manager.Manager | |
|---|---|
list of elisa.core.component.Component
|
components components currently registered in the manager |
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
Fire the signal corresponding to the event. Each event type is mapped to a signal instance to which other elisa components can connect (e.g to monitor user key presses). This method can be called by elisa.core.components.input_provider.PushInputProvider components when they receive input data from the input device.
|
Register a new InputProvider in the InputManager so that the events collected by the former are propagated by the latter.
|
Clean the InputProvider and unregister it from the InputManager; no events from the InputProvider will be propagated anymore.
|
| Class Variable Details |
__gsignals__
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Dec 1 10:54:30 2009 | http://epydoc.sourceforge.net |