Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmtWorking...andleEvents(3) Library Functions Manual XmtWorking...andleEvents(3)

NAME
     XmtWorkingBoxHandleEvents(),  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)

ARGUMENTS
     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.

DESCRIPTION
     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  Xm-
     PushButton  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 out-
     side  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 Xmt-
     WorkingBox widget.  It  is  safe  to  call  this  function  even  when  the
     XmtNshowScale resource of the XmtWorkingBox is False.

SEE ALSO
     Chapter 31, Busy States and Background Work, XmtWorkingBox.

Xmt				   Motif Tools	     XmtWorking...andleEvents(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmtWorkingBoxHandleEvents&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help