| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
itemBase.NetworkItemsBase --+
|
PortWidget
base class for network editor widgets
port: Port instance to which the widget is bound
master: parent widget into which the widget will be created
labelCfg: configuration dictionary for a Tkinter.Label (use to anme the widget
## FIXME .... labelSide is now in the widgetGridCfgXXX
labelSide: 'left', 'right', 'bottom', 'top'. Describes relative position
of label and widget. Is used to compute row and column for gridding.
Defaults to left.
labelGridCfg: label gridding options (other than 'row' and 'column')
widgetGridCfg: label gridding options (other than 'row' and 'column')
NEwidgetPosition: {'posx':i, 'posy':j} will be used to compute real row and col
initialValue: used to set widget in constructor
|
|||
|
__init__(self,
port,
**kw) x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
||
| moveWidgetToPanel(self, name) | ||
|
postWidgetMenu(self,
event=None) Display menu that allows to display vonfiguration panel or start port or widget editor |
||
|
getWidgetGridCfg(self) select the right widgetGridCfg dictionary based on the panel by default we use se;f.widgetGridCfg, but then check if there is an entry in the node's widgetDescr that is specific for the master (i.e. |
||
| gridLabelAndWidget(self) | ||
|
edit(self,
event=None) start widget editor |
||
| label_cb(self) | ||
| destroy(self) | ||
| configure(self, rebuild=True, **kw) | ||
| rebuild(self, rebuildDescr) | ||
| getDescr(self) | ||
| set(self, value, run=1) | ||
| get(self) | ||
| getDataForSaving(self) | ||
| scheduleNode(self) | ||
| newValueCallback(self, event=None) | ||
|
compareToOrigWidgetDescr(self) Compare this widget to the widgetDescr defined in a given network node base class and return a dictionary with the differences |
||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
configOpts = {'initialValue': {'defaultValue': None, 'type': 'Non...
|
||
|
ownConfigOpts = {}
|
||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
configOptsNone
|
ownConfigOptsNone
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Fri Nov 2 14:08:31 2007 | http://epydoc.sourceforge.net |