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

Class Mode

source code

object --+
         |
        Mode

Interface to be implemented by modes. When a mode is enabled, enter_mode is called, and leave_mode when disabled.

Instance Methods [hide private]
 
enter_mode(self) source code
 
leave_mode(self) source code
 
__enter__(self) source code
 
__exit__(self, *a) source code

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

Properties [hide private]

Inherited from object: __class__