Package schrodinger :: Package ui :: Package qt :: Module propertyselector :: Class PropertySelectorMenu
[hide private]
[frames] | no frames]

Class PropertySelectorMenu

Pull-down menu style property selected widget. Used by VSW and Generate Phase DB GUIs

Instance Methods [hide private]
 
__init__(self, optionmenu, command=None, proplist=None)
 
_callCommand(self, selection_ignored)
Calls the user-specified "command" with the name of the property
 
clear(self)
 
getSelected(self)
Return PropertyName object for the selected property, or None.
 
select(self, property)
Select the specified property.
 
setProperties(self, proplist)
Change the list of properties.
Method Details [hide private]

select(self, property)

 

Select the specified property. <property> must be a data name string or a PropertyName object.

setProperties(self, proplist)

 

Change the list of properties. 'proplist' must be a list of PropertyName objects (from the 'structure.py' module) or data names