Current Page:
NeXtMidas User's Guide
Graphics
Menus and Control Widgets
|
|
Menus and Control WidgetsWidget is a generic term for the part of a GUI that allows the user to interface with the application and operating system. Typical widgets include buttons, dialog boxes, pop-up windows, pull-down menus, icons, scroll bars, resizable window edges, menu bars, toggle switches and forms. Among the most important NeXtMidas features for GUI front-end implementation are soft controls (widgets), which are the screen versions of familiar hardware knobs, switches, and readouts. The two primary execution threads in NeXtMidas associated with GUI controls are control creation and control event processing. In terms of code complexity, control event handling is much simpler than the control creation process. In response to mouse clicks on control widgets, messages are sent for
appropriate event processing. Simulated mouse clicks may be generated by
setting the |
|