openalea.vpltk.control package¶
Submodules¶
openalea.vpltk.control.abstractcontrolmanager module¶
- class openalea.vpltk.control.abstractcontrolmanager.AbstractControlManager(name=None, object=None)[source]¶
Bases: object
‘typename’ is the type of control that is manage by this control manager. It can be a python type (ex: ‘int’) or something else (ex: ‘Curve2D’).
- editor()[source]¶
Permit to edit the control.
Launch edition (inside the thumbnail or in a new widget)
- typename = None¶
openalea.vpltk.control.controlpanel module¶
openalea.vpltk.control.pythonmanager module¶
- class openalea.vpltk.control.pythonmanager.AbstractPythonObjectManager(typename=None)[source]¶
Bases: openalea.vpltk.control.abstractcontrolmanager.AbstractControlManager
- class openalea.vpltk.control.pythonmanager.IntManager(typename='int')[source]¶
Bases: openalea.vpltk.control.pythonmanager.AbstractPythonObjectManager
- createDefaultObject(objtype=None)[source]¶
create a default object of the type handled by the manager. requires instanciate a new item in the panel. Should be reimplemented
- displayThumbnail(obj, id, mode, objectthumbwidth)[source]¶
display of an object in the Lpy main window Panel, :param obj: the object to display :param id: id of the object in the list :param mode: define if object has mode, :param thumbwidth: width of the thumbnail representing the object in the panel :param objectthumbwidth: width for the representation of the object in the panel Should be reimplemented