Home | Trees | Indices | Help |
|
---|
|
presents user w/ a list of molecules currently loaded; mode can be 'single', 'browse', 'multiple' or 'extended'. Molecules can be selected from the list or by picking in the camera. OK button returns a list of entries which have been selected. Cancel returns an empty list. Typical usage is: ans = MoleculeChooser(self.vf).go() if ans !=[]: then get the value(s) NB: this class doesn't grab the focus and binds picking w/ B1 to selecting the molecule in the MoleculeChooser.
|
|||
| __init__(self, viewer, mode='single', title='Choose Molecule') | ||
| done_cb(self) | ||
|
go(self,
modal=1,
blocking=0,
event="<ButtonRelease-1>") Start the form |
||
|
getMolSet(self) method to get currently selected molecules when the chooser is used in modal=0 and blocking=0 mode |
||
| onPick(self, atoms) |
|
|
|
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Nov 2 14:14:33 2007 | http://epydoc.sourceforge.net |