XtDisownSelection 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]

XtDisownSelection()					   XtDisownSelection()

Name
  XtDisownSelection  -	indicate  that selection data is no longer avail‐
  able.

Synopsis
  void XtDisownSelection(w, selection, time)
	 Widget w;
	 Atom selection;
	 Time time;

Inputs
  w	    Specifies the widget relinquishing selection ownership.

  selection Specifies which selection the widget is  giving  up	 (usually
	    XA_PRIMARY or XA_SECONDARY).

  time	    Specifies  the  timestamp  that indicates when the request to
	    relinquish selection ownership was initiated.

Description
  XtDisownSelection() informs the Intrinsics selection mechanism that the
  specified  widget is to lose ownership of the specified selection as of
  the specified time.  If the widget does not currently	 own  the  selec‐
  tion,	 either because it lost the selection or because it never had the
  selection to begin with, XtDisownSelection() does nothing.

  After a widget has called XtDisownSelection(), its XtConvertProc is not
  called  even	if  a  request	arrives later with a timestamp during the
  period that this widget owned the selection.	However,  its  XtDoneProc
  will	be  called if a conversion that started before the call to XtDis‐
  ownSelection() finishes after the  call  to  XtDisownSelection().   See
  XtOwnSelection() for more information.

Usage
  Usually,  a selection owner maintains ownership indefinitely until some
  other client requests ownership, at which time the Intrinsics selection
  mechanism  informs the previous owner that it has lost ownership of the
  selection.  However, in response to some  user  actions  (for	 example,
  when a user deletes the information selected), the application may with
  to explicitly inform the Intrinsics that it no  longer  is  to  be  the
  selection owner by calling XtDisownSelection().

  When	the selection changes hands because another client has claimed it
  (rather than as a result of a call to XtDisownSelection()), the Intrin‐
  sics inform the application that it has lost the selection ownership by
  calling its XtLoseSelectionProc.

See Also
  XtGetSelectionValue(1), XtOwnSelection(1),
  XtConvertProc(2), XtDoneProc(2), XtLoseSelectionProc(2).

Xt - Selections						   XtDisownSelection()
[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