Package topo :: Package tkgui :: Module topoconsole :: Class PlotsMenuEntry
[hide private]
[frames] | no frames]

Class PlotsMenuEntry

source code


Stores information about a Plots menu command (including the command itself, and the plotgroup template).
Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]
 
__init__(self, plotgroup, class_=<class 'topo.tkgui.templateplotgrouppanel.TemplatePlotGroupPan..., **params)
Store the template, and set the class that will be created by this menu entry
source code
 
__call__(self, event=None, **kw)
Instantiate the class_ (used as menu commands' 'command' attribute).
source code

Inherited from param.parameterized.Parameterized: __getstate__, __repr__, __setstate__, __str__, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, script_repr, set_default, set_dynamic_time_fn, set_param, state_pop, state_push, verbose, warning

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

Class Methods [hide private]

Inherited from param.parameterized.Parameterized: params, print_param_defaults

Class Variables [hide private]
  name = <param.parameterized.String object at 0xb32e3ac>
String identifier for this object.

Inherited from param.parameterized.Parameterized: print_level

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, plotgroup, class_=<class 'topo.tkgui.templateplotgrouppanel.TemplatePlotGroupPan..., **params)
(Constructor)

source code 

Store the template, and set the class that will be created by this menu entry

If users want to extend the Plot Panel classes, then they
should add entries to the plotpanel_classes dictionary.
If no entry is defined there, then the default class is used.

The class_ is overridden for any special cases listed in this method.

Overrides: object.__init__

__call__(self, event=None, **kw)
(Call operator)

source code 

Instantiate the class_ (used as menu commands' 'command' attribute).

Keyword args are passed to the class_.