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

FreeBSD Manual Pages

  
 
  

home | help
EZ_GrabPointer()					      EZ_GrabPointer()

NAME
       EZ_GrabPointer, EZ_UngrabPointer	- grab/ungrab the mouse	pointer

SYNOPSIS
       #include	<EZ.h>

       int  EZ_GrabPointer(EZ_Widget *widget, Cursor cursor,
			   int timeout)

       void  EZ_UngrabPointer(void)

ARGUMENTS
       widget  Specifies a widget.

       cursor Specifies	a cursor.

       timeout Specifies a timeout in seconds.

DESCRIPTION
       EZ_GrabPointer  grabs the pointer device	to the window of widget	if the
       pointer is not currently	grabed.	 If cursor is not None,	 it  will  re-
       place  the current cursor. If timeout is	positive, the grab will	be au-
       tomatically released after timeout seconds. If timeout is 0,  the  grab
       will sustain indefinitely until a call to EZ_UngrabPointer.

       EZ_GrabPointer  returns	the  status of the grab	as described in	Xgrab-
       Pointer (3X11).

       EZ_UngrabPointer	release	the current pointer grab.

SEE ALSO
       EZ_WaitCursor(3), EZ_SetGrab(3)

EZWGL Functions			     EZWGL		      EZ_GrabPointer()

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=EZ_GrabPointer&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help