Package schrodinger :: Package application :: Package msv :: Package gui :: Module msv_widget :: Class WidgetOptions
[hide private]
[frames] | no frames]

Class WidgetOptions

object --+
         |
        WidgetOptions

A collection of values indicating the current state of the widget.

The application has shared controls (e.g., the menu) that is shared between different widgets. When we switch tabs (which brings a different widget into focus), we update the states of these controls using the values in this simple container object.

Instance Methods [hide private]
 
__init__(self, default_options=())
Initialize the instance, using a tuple of tuples to set any specific values

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, default_options=())
(Constructor)

 

Initialize the instance, using a tuple of tuples to set any specific values

Overrides: object.__init__