class documentation

class _EventKey(Generic[_ET]): (source)

View In Hierarchy

Represent :func:`.listen` arguments.

Method __init__ Undocumented
Method append_to_list Undocumented
Method base_listen Undocumented
Method contains Return True if this event key is registered to listen.
Method listen Undocumented
Method prepend_to_list Undocumented
Method remove Undocumented
Method remove_from_list Undocumented
Method with_dispatch_target Undocumented
Method with_wrapper Undocumented
Class Variable __slots__ Undocumented
Instance Variable dispatch_target Undocumented
Instance Variable fn Undocumented
Instance Variable fn_key Undocumented
Instance Variable fn_wrap Undocumented
Instance Variable identifier Undocumented
Instance Variable target Undocumented
Class Variable _fn_wrap Undocumented
Property _key Undocumented
Property _listen_fn Undocumented
def __init__(self, target: _ET, identifier: str, fn: _ListenerFnType, dispatch_target: Any, _fn_wrap: Optional[_ListenerFnType] = None): (source)

Undocumented

def append_to_list(self, owner: RefCollection[_ET], list_: Deque[_ListenerFnType]) -> bool: (source)

Undocumented

def base_listen(self, propagate: bool = False, insert: bool = False, named: bool = False, retval: Optional[bool] = None, asyncio: bool = False): (source)

Undocumented

def contains(self) -> bool: (source)

Return True if this event key is registered to listen.

def listen(self, *args: Any, **kw: Any): (source)

Undocumented

def prepend_to_list(self, owner: RefCollection[_ET], list_: Deque[_ListenerFnType]) -> bool: (source)

Undocumented

def remove(self): (source)

Undocumented

def remove_from_list(self, owner: RefCollection[_ET], list_: Deque[_ListenerFnType]): (source)

Undocumented

def with_dispatch_target(self, dispatch_target: Any) -> _EventKey[_ET]: (source)

Undocumented

def with_wrapper(self, fn_wrap: _ListenerFnType) -> _EventKey[_ET]: (source)

Undocumented

__slots__: tuple[str, ...] = (source)

Undocumented

dispatch_target = (source)

Undocumented

Undocumented

Undocumented

Undocumented

identifier = (source)

Undocumented

Undocumented

Undocumented