Trees | Indices | Help |
|
---|
|
object --+ | WithEventsMixin
This mixin class assumes that the mixed-in class will provide a `_make_event_delegate` method returning an instance of the appropriate subclass of EventDelegate.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
__event_delegate = None
|
|||
__disabling_count = 0
|
|
|||
Inherited from |
|
Connect the given handler to the (optionally detailed) signal. Additional arguments for the handler can be given. Return the handler_id, which can be used to disconnect the handler. |
Return True iff the given handler_id represents a connected handler. NB: this has been renamed from GObject.handler_is_connected to comply with Advene coding style (methode names should start with a verb). |
Prevent the handler identified by handler_id to be invoked until it is unblocked. NB: this has been renamed from GObject.handler_block to comply with Advene coding style (methode names should start with a verb). |
Unblock the blocked handler identified by handler_id so it can be invoked again. NB: this has been renamed from GObject.handler_unblock to comply with Advene coding style (methode names should start with a verb). |
Cause the object to emit the signal specified by detailed_signal. The additional parameters must match the number and type of the required signal handler parameters. |
Like emit, but lazy_params is assumed to be a function returning an iterable of the params to send to emit. The rationale is that, since emit does nothing if we have no EventDelegate, the parameters would not be evaluated. |
Stop the current emission of the signal specified by detailed_signal. Any signal handlers in the list still to be run will not be invoked. |
Return True iff the given handler_id represents a connected handler. NB: this has been renamed from GObject.handler_is_connected to comply with Advene coding style (methode names should start with a verb). |
Prevent the handler identified by handler_id to be invoked until it is unblocked. NB: this has been renamed from GObject.handler_block to comply with Advene coding style (methode names should start with a verb). |
Unblock the blocked handler identified by handler_id so it can be invoked again. NB: this has been renamed from GObject.handler_unblock to comply with Advene coding style (methode names should start with a verb). |
Disable all event emission for this object, until `exit_no_event_section` is called. Not also that a "no event section is a critical section for the object (in the sense of the `advene.util.synchronized` module). |
Re-enables all event emission for this object. :see-also: `enter_no_event_section` |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 8 16:00:03 2009 | http://epydoc.sourceforge.net |