XtUngrabButton man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XtUngrabButton()					      XtUngrabButton()

Name
  XtUngrabButton - cancel a passive button grab.

Synopsis
  void XtUngrabButton(widget, button, modifiers)
	   Widget widget;
	   unsigned int button;
	   Modifiers modifiers;

Inputs
  widget    Specifies the widget in whose window the button was grabbed.

  button    Specifies the mouse button to be ungrabbed.

  modifiers Specifies the modifier keys to be ungrabbed.

Availability
  Release 4 and later.

Description
  XtUngrabButton()  cancels  a passive grab of the specified button/modi‐
  fiers combination.  If w is realized, XtUngrabButton()  calls	 XUngrab‐
  Button() specifying the widget's window as the ungrab window, and pass‐
  ing the remaining arguments unmodified.  If the widget is not realized,
  XtUngrabButton()  removes  the deferred XtGrabButton() request, if any,
  for the specified widget, button, and modifiers.

  The button argument is one of Button1, Button2, Button3, Button4,  But‐
  ton5,	 or  the  constant  AnyButton, which is equivalent to issuing the
  ungrab request for all possible buttons.

  The modifiers argument is a bitwise OR of one or more of the	following
  symbols:   ShiftMask,	  LockMask,   ControlMask,   Mod1Mask,	Mod2Mask,
  Mod3Mask, Mod4Mask, Mod5Mask.	 The special value  AnyModifier	 is  also
  allowed;  using  it  is equivalent to issuing the ungrab button request
  for all possible modifier combinations (including no modifiers).

  XtUngrabButton() has no effect on an active grab.

  See XtGrabButton() for more information on passive button grabs.

Usage
  You should rarely need to use passive button grabs.  An automatic  grab
  takes place between a ButtonPress event and the corresponding ButtonRe‐
  lease event, so an explicit grab is not necessary in some of	the  most
  common  situations.  It may be necessary for some styles of menus, how‐
  ever.

  Note that XtAddGrab() and spring-loaded popups can be used in place  of
  passive grabs in many circumstances.	These do not actually issue any X
  server grabs.

Structures
  The Modifiers type is defined as follows:

     typedef unsigned int Modifiers;

See Also
  XtAddGrab(1), XtGrabButton(1), XtGrabKey(1), XtGrabKeyboard(1), XtGrab‐
  Pointer(1), XtUngrabKey(1), XtUngrabKeyboard(1), XtUngrabPointer(1).

Xt - Mouse Handling					      XtUngrabButton()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net