WtMainLoop Function
Handles the dispatching of events.
Usage
status = WtMainLoop( )
Input Parameters
None.
Output Parameters
None.
Returned Value
status — One (1) indicates success; zero (0) indicates failure.
Keywords
Noblock — If specified and nonzero, events are dispatched in the background, and WtMainLoop returns immediately to process PV‑WAVE commands from the command line.
Discussion
The WtLoop function can be called to accomplish the same result as WtMainLoop. WtMainLoop has been retained to provide upward compatibility with an earlier release of PV‑WAVE, but it is recommended that you use WtLoop, instead.
See Also
For detailed information on GUI development, refer to the PV‑WAVE Application Developer’s Guide.
For more information about how to write an application program based on the PV‑WAVE Widget Toolbox, refer to Using the Widget Toolbox in the PV‑WAVE Application Developer’s Guide.