RelayBoolBase

Defined in module: wield.declarative.callbacks.state_booleans.RelayBoolBase

class RelayBoolBase(*args, **kwargs)[source][github]

Bases: ReprMixin

Base class for the relay bools and their interfaces.

All subclasses should implement __nonzero__

__init__(name='', **kwargs)[source][github]

Methods

__init__([name])

register([key, callback, call_immediate, ...])

register_via(reg_call, callback[, key, remove])

Attributes

callbacks_ontoggle

is_set

Returns T/F status of the bool

notted

value

callbacks_ontoggle[github]
property is_set[github]

Returns T/F status of the bool

property value[github]
register(key=None, callback=None, call_immediate=False, assumed_value=('<UNIQUE VALUE>', <function unique_generator.<locals>.UNIQUE_CLOSURE>), remove=False)[source][github]
register_via(reg_call, callback, key=None, remove=False, **kwargs)[source][github]
notted[github]