File 'gui/valueman.cls' (part of 'Pool_GuiBase')
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Class 'valueManager'
- -command
- Script to evaluate after changes to the value. A single argument is appended, it contains the new value given to the widget.
- -value
- The value managed by instances of this class and all its derived classes.
- -variable
- Name of the (global) variable associated to the widget. Any changes to its contents are propagated into the widget and vice versa.
TrackValue (o oldValue)
|
|
Argument: o
|
The name of the changed option.
|
Argument: oldValue
|
The value of the option before the change.
|
TrackVarContents (var idx op)
|
|
Argument: var
|
Standard trace argument, base name of traced variable
|
Argument: idx
|
Standard trace argument, index of traced variable, if an array item
|
Argument: op
|
Standard trace argument, operation invoking the trace.
|
TrackVariable (o oldValue)
|
|
Argument: o
|
The name of the changed option.
|
Argument: oldValue
|
The value of the option before the change.
|
UpdateVariable ()
|
|
Notes: Some technicalities to note:
The internal trace is temporarily removed to avoid a (possibly infinite) recursive invocation of traces. The value of the global variable is reread after its setting to catch restrictions made by other traces.
The code is originally from Tix, and was modified to fit into this oo framework.
|
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries