class openalea.oalab.service.notebook_control.NotebookControlWidget(notebookclass=None, **kwargs)[source]

Bases: openalea.oalab.control.widget.AbstractControlWidget

apply(control)[source]
autoapply(control, auto=True)[source]
on_value_changed(*args, **kwargs)[source]

Method called when value changed. This method generally read control and refresh view if auto-read mode is enabled.

on_widget_value_changed(name, value)[source]
reset(value=None, *kargs)[source]

Reset widget to default values.

setValue(value)[source]

Change widget value. If your class derivates from an third-party widget, it is sometime necessary to adapt control value type to widget supported type. Example unicode to QString in pyqt API v1.

value(interface=None)[source]

Returns widget value. If your class derivates from an third-party widget, it is sometime necessary to adapt widget value type to control type. If widget supports more than one interface, returned value depends on given interface. If none, returns widget preferred type.

openalea.oalab.service.notebook_control.notebook_editor(control, shape=None, preferred=None, preferences=None)[source]
openalea.oalab.service.notebook_control.select_default_widgets()[source]

Previous topic

<no title>

Next topic

<no title>

This Page