WIDGET_STUB
The WIDGET_STUB function creates a widget record that contains no actual underlying widgets. Stub widgets are place holders for integrating external widget types into IDL. Events from those widgets can then be processed in a manner consistent with the rest of the IDL widget system.
First, the programmer calls WIDGET_STUB to create the widget, and then uses CALL_EXTERNAL to call additional custom code to handle the rest. A number of internal functions are provided to manipulate widgets from this custom code. See Functions for Use with Stub Widgets.
The returned value of this function is the widget ID of the newly-created stub widget.
Calling Sequence
Result = WIDGET_STUB(Parent)
Arguments
Parent
The widget ID of the parent widget. Stub widgets can only have bases or other stub widgets as their parents.
Keywords
The following keywords are accepted by WIDGET_STUB and work the same as for other widget creation functions:
| EVENT_FUNC |
SCR_XSIZE |
| EVENT_PRO |
SCR_YSIZE |
| FUNC_GET_VALUE |
UVALUE |
| GROUP_LEADER |
XOFFSET |
| KILL_NOTIFY |
XSIZE |
| NO_COPY |
YOFFSET |
| PRO_SET_VALUE |
YSIZE |