Package NetworkEditor :: Module widgets :: Class PmwPortWidget
[hide private]
[frames] | no frames]

Class PmwPortWidget

source code

               object --+        
                        |        
itemBase.NetworkItemsBase --+    
                            |    
                   PortWidget --+
                                |
                               PmwPortWidget
Known Subclasses:
NEComboBox, NEScrolledText

base class for wrapping basic PMW widgets such as ComboBox

Instance Methods [hide private]
  __init__(self, port, **kw)
  configure(self, rebuild=True, **kw)
  getPmwOptions(self, widget, options)
returns the options that can be passed to a Pmw widget.

Inherited from PortWidget: compareToOrigWidgetDescr, destroy, edit, get, getDataForSaving, getDescr, getWidgetGridCfg, gridLabelAndWidget, label_cb, moveWidgetToPanel, newValueCallback, postWidgetMenu, rebuild, scheduleNode, set

Inherited from itemBase.NetworkItemsBase: delEditor, getEditor, setEditor

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


Class Variables [hide private]
  configOpts = PortWidget.configOpts.copy()

Inherited from PortWidget: ownConfigOpts


Properties [hide private]

Inherited from itemBase.NetworkItemsBase: editor

Inherited from object: __class__


Method Details [hide private]

__init__(self, port, **kw)
(Constructor)

source code 
None
Overrides: PortWidget.__init__

configure(self, rebuild=True, **kw)

source code 
None
Overrides: PortWidget.configure

getPmwOptions(self, widget, options)

source code 
returns the options that can be passed to a Pmw widget. Note: in the future, this method could be more clever and check what options are available in the Pmw widget and only allow these options as keys

Class Variable Details [hide private]

configOpts

None
Value:
PortWidget.configOpts.copy()