GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmtWorkingBoxHandleEvents(3) FreeBSD Library Functions Manual XmtWorkingBoxHandleEvents(3)

XmtWorkingBoxHandleEvents(), XmtWorkingBoxSetScaleValue() - check the push button and update the slider value in an XmtWorkingBox widget.

#include <Xmt/WorkingBox.h>
Boolean XmtWorkingBoxHandleEvents(Widget w)
void XmtWorkingBoxSetScaleValue(Widget w, int value)

INPUTS
w
An XmtWorkingBox widget.
value
The value to be displayed by the XmtWorkingBox XmScale widget.
RETURNS
XmtWorkingBoxHandleEvents() returns True if the XmPushButton child of the XmtWorkingBox widget has been activated; False otherwise.

XmtWorkingBoxHandleEvents() calls XSync() to flush the X output buffer and enqueue any events not yet delivered from the server. It then makes three passes through the Xlib event queue. On the first pass, it dispatches any events that occurred over the XmtWorkingBox widget or its XmScale and XmPushButton children. On the second pass, it handles any Expose events that occurred anywhere in the application by calling XmUpdateDisplay(), and on the third pass, it discards any KeyPress or mouse events that occurred outside of the dialog, thus disabling ``type-ahead'' and ``click-ahead'' buffering of events.
If the user has clicked on the XmPushButton child of the XmtWorkingBox, or has otherwise activated that button (by press ing Return, for example), then a flag will be set by a call back invoked during the first pass through the event queue, and XmtWorkingBoxHandleEvents() will return True. If the button has not been activated, then the function will return False.
XmtWorkingBoxSetScaleValue() sets the XmNvalue resource of the XmScale child of the XmtWorkingBox w to value. Calling this function is equivalent to, but more efficient than setting the XmtNscaleValue resource of the XmtWorkingBox widget. It is safe to call this function even when the XmtNshowScale resource of the XmtWorkingBox is False.

Chapter 31, Busy States and Background Work, XmtWorkingBox.
Motif Tools Xmt

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.