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

FreeBSD Manual Pages

  
 
  

home | help
XmTrackingEvent(3)	    Library Functions Manual	      XmTrackingEvent(3)

NAME
     XmTrackingEvent -- A Toolkit function that provides a modal interaction

SYNOPSIS
     #include <Xm/Xm.h>
     Widget XmTrackingEvent(
     Widget widget,
     Cursor cursor,
     Boolean confine_to,
     XEvent *event_return);

DESCRIPTION
     XmTrackingEvent  provides	a  modal interface for selection of a component.
     It is intended to support context help.  The function calls  the  XmUpdate-
     Display function.	XmTrackingEvent then grabs the pointer and discards suc-
     ceeding  events  until BSelect is released or a key is pressed and then re-
     leased.  The function then returns the widget or gadget that  contains  the
     pointer  when  BSelect  is  released  or a key is released, and ungrabs the
     pointer.

     widget    Specifies the widget ID of a widget to use as the  basis  of  the
	       modal  interaction. That is, the widget within which the interac-
	       tion must occur, usually a top-level shell.

     cursor    Specifies the cursor to be used for the pointer during the inter-
	       action.	This is a standard X cursor name.

     confine_toSpecifies whether or not the cursor should be confined to widget.

     event_return
	       Returns the ButtonRelease or KeyRelease	event  that  causes  the
	       function to return.

RETURN
     Returns  the widget or gadget that contains the pointer when BSelect is re-
     leased or a key is released. If no widget or gadget contains  the	pointer,
     the function returns NULL.

RELATED
     XmTrackingLocate(3).

							      XmTrackingEvent(3)

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

home | help