Package interphase :: Module interface :: Class InterfaceState

Class InterfaceState

object --+
         |
        InterfaceState

State Object

State Object shows current state of control panel. The control_interact, button_interact register only with pointer_interact or tips_display. When control event is active, generates pygame event.type interphase.EVENT['controlselect'] and interphase.EVENT['controlinteract'] with attribute event.state.

Instance Methods
 
__init__(self, panel, control_interact=None, button_interact=None, control_select=None, button_select=None, value=None)
x.__init__(...) initializes x; see help(type(x)) for signature

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

Properties

Inherited from object: __class__

Method Details

__init__(self, panel, control_interact=None, button_interact=None, control_select=None, button_select=None, value=None)
(Constructor)

 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)