|
NAMEXmtWorkingBoxHandleEvents(), XmtWorkingBoxSetScaleValue() - check the push button and update the slider value in an XmtWorkingBox widget.SYNOPSIS#include <Xmt/WorkingBox.h>
Boolean XmtWorkingBoxHandleEvents(Widget w) void XmtWorkingBoxSetScaleValue(Widget w, int value) ARGUMENTSINPUTS
RETURNS XmtWorkingBoxHandleEvents() returns True if the XmPushButton child of the XmtWorkingBox widget has been activated; False otherwise. DESCRIPTIONXmtWorkingBoxHandleEvents() 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. SEE ALSOChapter 31, Busy States and Background Work, XmtWorkingBox.
Visit the GSP FreeBSD Man Page Interface. |