XtDisownSelection man page on Tru64

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
Tru64 logo
[printable version]

XtOwnSelection(3Xt)					   XtOwnSelection(3Xt)

NAME
       XtOwnSelection,	 XtOwnSelectionIncremental,  XtDisownSelection	-  set
       selection owner

SYNOPSIS
       Boolean XtOwnSelection(w, selection,  time,  convert_proc,  lose_selec‐
       tion, done_proc)
	       Widget w;
	       Atom selection;
	       Time time;
	       XtConvertSelectionProc convert_proc;
	       XtLoseSelectionProc lose_selection;
	       XtSelectionDoneProc done_proc;

       Boolean XtOwnSelectionIncremental(w, selection, time, convert_callback,
       lose_callback, done_callback, cancel_callback, client_data)
	       Widget w;
	       Atom selection;
	       Time time;
	       XtConvertSelectionIncrProc convert_callback;
	       XtLoseSelectionIncrProc lose_callback;
	       XtSelectionDoneIncrProc done_callback;
	       XtCancelConvertSelectionProc cancel_callback;
	       XtPointer client_data;

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

ARGUMENTS
       Specifies the procedure that is to be called whenever someone  requests
       the  current  value  of the selection.  Specifies the procedure that is
       called after the requestor has received the selection or	 NULL  if  the
       owner  is not interested in being called back.  Specifies the procedure
       that is to be called whenever the widget has lost  selection  ownership
       or NULL if the owner is not interested in being called back.  Specifies
       an atom that describes the type of the selection (for example,  XA_PRI‐
       MARY,  XA_SECONDARY,  or	 XA_CLIPBOARD).	  Specifies the timestamp that
       indicates when the selection ownership should  commence	or  is	to  be
       relinquished.   Specifies the widget that wishes to become the owner or
       to relinquish ownership.

DESCRIPTION
       The XtOwnSelection function informs the Intrinsics selection  mechanism
       that a widget believes it owns a selection. It returns True if the wid‐
       get has successfully become the owner and False otherwise.  The	widget
       may  fail  to become the owner if some other widget has asserted owner‐
       ship at a time later than this  widget.	Note  that  widgets  can  lose
       selection  ownership  either because someone else asserted later owner‐
       ship of the selection or because the widget voluntarily gave up	owner‐
       ship  of	 the selection. Also note that the lose_selection procedure is
       not called if the widget fails to obtain	 selection  ownership  in  the
       first place.

       The  XtOwnSelectionInrcremental procedure informs the Intrinsics incre‐
       mental selection mechanism that the specified widget wishes to own  the
       selection. It returns True if the specified widget successfully becomes
       the selection owner or False  otherwise.	 For  more  information	 about
       selection, target, and time, see Section 2.6 of the Inter-Client Commu‐
       nication Conventions Manual.

       A widget that becomes the selection owner using XtOwnSelectionIncremen‐
       tal may use XtDisownSelection to relinquish selection ownership.

       The  XtDisownSelection function informs the Intrinsics selection mecha‐
       nism that the specified widget is to lose ownership of  the  selection.
       If  the	widget	does not currently own the selection 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 convert procedure is
       not called even if a request arrives later with a timestamp during  the
       period  that  this widget owned the selection. However, its done proce‐
       dure will be called if a conversion that started	 before	 the  call  to
       XtDisownSelection finishes after the call to XtDisownSelection.

SEE ALSO
       XtAppGetSelectionTimeout(3Xt), XtGetSelectionValue(3Xt)

       X Toolkit Intrinsics -- C Language Interface

       Xlib  C Language X Interface

							   XtOwnSelection(3Xt)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

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