|
|
|
__get__(self,
inst,
cls=None)
Always return self, but keep the instance in case
we someone wants to send an event. |
source code
|
|
|
__init__(self,
**kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
__set__(self,
inst,
eventfunc)
Set a new event to our object |
source code
|
|
|
_func_to_key(self,
eventfunc)
Returns:
an eventfunction suitable to be used as key in our instance
event set |
source code
|
|
|
|
|
|
|
_key_to_func(self,
eventkey)
Returns:
event function from the given eventkey as stored in our events set. |
source code
|
|
|
|
|
remove(self,
eventfunc)
remove the given function from this event
:note: will not raise if eventfunc does not exist |
source code
|
|
|
send(self,
*args,
**kwargs)
Send our event using the given args |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|