Package _Framework :: Module ModesComponent :: Class ExcludingBehaviourMixin
[hide private]
[frames] | no frames]

Class ExcludingBehaviourMixin

source code

         object --+    
                  |    
ModeButtonBehaviour --+
                      |
                     ExcludingBehaviourMixin

Button behaviour that excludes the mode/s when the currently selected mode is in any of the excluded groups.

Instance Methods [hide private]
 
__init__(self, excluded_groups=set(), *a, **k)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
is_excluded(self, component, selected) source code
 
press_immediate(self, component, mode) source code
 
release_delayed(self, component, mode) source code
 
press_delayed(self, component, mode) source code
 
release_immediate(self, component, mode) source code
 
update_button(self, component, mode, selected_mode)
Updates the button light for 'mode'.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, excluded_groups=set(), *a, **k)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

press_immediate(self, component, mode)

source code 
Overrides: ModeButtonBehaviour.press_immediate

release_delayed(self, component, mode)

source code 
Overrides: ModeButtonBehaviour.release_delayed

press_delayed(self, component, mode)

source code 
Overrides: ModeButtonBehaviour.press_delayed

release_immediate(self, component, mode)

source code 
Overrides: ModeButtonBehaviour.release_immediate

update_button(self, component, mode, selected_mode)

source code 

Updates the button light for 'mode'.

Overrides: ModeButtonBehaviour.update_button
(inherited documentation)