__init__(self,
checkbox,
pick_function,
pick_text=' Pick an atom ' ,
enable_lasso=False)
(Constructor)
|
|
The following options are supported:
@type checkbox: QCheckBox instance.
@param checkbox: Checkbox to hook up the class to.
@type pick_function: callable
@param pick_function: will be called when an atom is picked. Must be
a callable function that accepts one argument (atom number, or ASL,
if enable_lasso is True).
@type pick_text: str
@param pick_text: Text that will be displayed in Maestro's status area
(default "Pick an atom").
@type enable_lasso=False
@param enable_lasso: Whether to allow multiple atoms to be selected
simultaneously via lasso.
- Overrides:
object.__init__
|