Name
InputWidget -- Abstract superclass for widgets that take input.
Description
InputWidgets get their input in one of two ways: by being readable, or by being linked to a C variable.
Protocols adopted by InputWidget
Widget
Methods
Phase: Using
- (const char *)
getValue Get the string value of the widget.
-
setValue: (const char *)
v Set the string value of the widget. This must be implemented by a subclass.
-
linkVariableInt: (int *)
p Attach the widget value to an integer.
-
linkVariableDouble: (double *)
p Attach the widget value to a double.
-
linkVariableBoolean: (unsigned *)
p Attach the widget value to a boolean.