Control

class core.control.control.Control(name, interface=None, value=None, widget=None, constraints=None, **kwds)[source]

Bases: openalea.grapheditor.observer.Observed

A Control is an observable variable with
  • name
  • interface
  • constraints on values
get_input_port(name=None)[source]
get_label()[source]
notify_change()[source]

Send value_changed event

rename(name)[source]
Parameters:name (basestring) -- new name
reset()[source]
set_input(key, val=None, notify=True)[source]
set_value(value)[source]

TODO: CPL: To discuss !!!! Deepcopy or not ? Currently, standard python behaviour: copy for non mutable else reference

default[source]
identifier[source]
interface[source]
label[source]
name[source]
value[source]

Previous topic

<no title>

Next topic

<no title>

This Page