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

Class CancellableBehaviour

source code

         object --+    
                  |    
ModeButtonBehaviour --+
                      |
                     CancellableBehaviour

Acts a toggle for the mode -- when the button is pressed a second time, every mode in this mode group will be exited, going back to the last selected mode. It also does mode latching.

Instance Methods [hide private]
 
press_immediate(self, component, mode) source code
 
release_delayed(self, component, mode) source code

Inherited from ModeButtonBehaviour: press_delayed, release_immediate, update_button

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

press_immediate(self, component, mode)

source code 
Overrides: ModeButtonBehaviour.press_immediate

release_delayed(self, component, mode)

source code 
Overrides: ModeButtonBehaviour.release_delayed