| Trees | Indices | Help |
|
|---|
|
|
object --+
|
_PickToggle --+
|
PickMixedToggle
Class allowing to pick atom or bond depending on internal state.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
| enable_lasso | |||
|
Inherited from |
|||
|
|||
Initialize picker class.
@param checkbox: pick toggle
@type checkbox: L{QtGui.QCheckBox}
@param pick_atom_function: this function is called when atom is picked.
Must be a callable function that accepts one arguments (atom number, or
ASL if enable_lasso is True).
@type pick_atom_function: function
@param pick_bond_function: this function is called when bond is picked.
Must be a callable function that accepts two arguments (bond atoms).
@type param_bond_function: function
@param pick_atom_text: atom pick text that will be displayed in
Maestro's status area (default "Pick an atom").
@type pick_atom_text: str
@param pick_bond_text: bond pick text that will be displayed in
Maestro's status area (default "Pick an atom").
@type pick_bond_text: str
@param enable_lasso: Whether to allow multiple atoms to be selected
simultaneously via lasso.
@type enable_lasso=False
|
Turn pick atom mode on and off. If it's off bonds will be picked instead.
|
Convenience function to turn pick atom mode on and off. If its off bonds will be picked instead.
|
|
|||
enable_lasso
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:51 2015 | http://epydoc.sourceforge.net |