Trees | Indices | Help |
|
---|
|
object --+ | util.EventSender --+ | EventSenderUI
Allows registration of a typical UI callback It basically streamlines the registration for a callback such that any number of listeners can be called when an event occours - this works by keeping an own list of callbacks registered for a specific event, and calling them whenever the maya ui callback has been triggered
To use this class , see the documentation of EventSender, but use the Event instead. If you want to add your own events, use your own Signal s.
The class does NOT use weakreferences for the main callbacks to make it easier to use. Use the WeakFunction to properly and weakly bind an instance function
When registered for an event, the sender will be provided to each callback as first argument.
|
|||
_UIEvent Event suitable to deal with user interface callback |
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
sender_as_argument = True
|
|||
reraise_on_error = True
|
|
|||
Inherited from |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 19 18:00:18 2011 | http://epydoc.sourceforge.net |