/ . / ModelPanel / base.py
Functions
|
|
|
addColumns
|
addColumns ( columnInfo, defaultShown=None )
Exceptions
|
|
ValueError, "Duplicate model panel" "column name: %s" % name
|
|
|
readableName
|
readableName ( model )
|
|
attributesCmd
|
attributesCmd ( models )
|
|
surfCmd
|
surfCmd ( models, category )
|
|
toggleModelField
|
toggleModelField (
models,
field,
onVal=None,
offVal=None,
openState=None,
)
|
|
setModelField
|
setModelField (
models,
field,
value,
openState=None,
)
functions used in model panel button; could be called directly also
|
|
nameColumn
|
nameColumn ( m )
|
|
addButton
|
addButton (
name,
callback,
minModels=None,
maxModels=None,
moleculesOnly=None,
balloon=None,
defaultFrequent=None,
)
Exceptions
|
|
KeyError, "Button named '%s' already exists" % name
|
|
|
getPhysicalChains
|
getPhysicalChains ( model )
|
|
focusCmd
|
focusCmd ( models )
|
|
backboneCmd
|
backboneCmd ( models, resTrace=None )
|
|
inputPath
|
inputPath ( model )
|
|
setModelFieldOnly
|
setModelFieldOnly (
models,
field,
onVal=None,
offVal=None,
openState=None,
)
|
|
selectCmd
|
selectCmd ( models )
|
|
activateAllCmd
|
activateAllCmd ()
|
|
showAllAtomsCmd
|
showAllAtomsCmd ( models )
|
|
|