This is the parent class for all Editors and also has a repository of handlers that are used to find the appropriate editor for a given object.
In some cases not only is an Editor found for the object, but objects within the object are converted to Editors. For instance when editing a Patch it is actually the patch's inputs that are converted to Editors (NumberEditor, EnvEditor etc).
Note that an Editor has a separate GUI class, and does not in fact have to have an open GUI in order to use or interact with it.
Find the appropriate Editor for the given object
object | |
... args |
additional arguments are supplied to the purveyor function |
private. this is the handler dictionary
Like a view, an editor has an action function which will fire when the value is set. Note that an Editor does not have to have an open GUI.
Get the current value of the edited object
Editors always store the value. In other words, when saving they do not store an Editor, they store the edited object.
stream |
current edited value
current edited value
inval |
an Editor can be used as a stream. it would return the current edited value on each iteration
FuncStream(this)
po |
b |
bundle |
control |
callback |
val |
val |
val |
stream |
val |