ultrix man page for xtownselection

Query: xtownselection

OS: ultrix

Section: 3xt

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XtOwnSelection(3Xt)						     MIT X11R4						       XtOwnSelection(3Xt)

Name
       XtOwnSelection, XtDisownSelection - set selection owner

Syntax
       Boolean XtOwnSelection(w, selection, time, convert_proc, lose_selection, done_proc)
	  Widget w;
	  Atom selection;
	  Time time;
	  XtConvertSelectionProc convert_proc;
	  XtLoseSelectionProc lose_selection;
	  XtSelectionDoneProc done_proc;

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

Arguments
       convert_proc
		 Specifies the procedure that is to be called whenever someone requests the current value of the selection.

       done_proc 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.

       lose_selection
		 Specifies the procedure that is to be called whenever the widget has lost selection ownership or NULL if the owner is not inter-
		 ested in being called back.

       selection Specifies an atom that describes the type of the selection (for example, or

       time	 Specifies the timestamp that indicates when the selection ownership should commence or is to be relinquished.

       w	 Specifies the widget that wishes to become the owner or to relinquish ownership.

Description
       The function informs the Intrinsics selection mechanism that a widget believes it owns a selection.  It returns if the widget has success-
       fully become the owner and otherwise.  The widget may fail to become the owner if some other widget has asserted ownership at a time later
       than this widget.  Note that widgets can lose selection ownership either because someone else asserted later ownership of the selection or
       because the widget voluntarily gave up ownership 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 function informs the Intrinsics selection mechanism 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, does noth-
       ing.

       After a widget has called 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 procedure will be called if a conversion that started before the call to finishes after the
       call to

See Also
       XtAppGetSelectionTimeout(3Xt), XtGetSelectionValue(3Xt)
       X Window System Toolkit: The Complete Programmer's Guide and Specification, Paul J. Asente and Ralph Swick
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															       XtOwnSelection(3Xt)
Related Man Pages
xtownselectionincremental(3xt) - redhat
xtownselection(3xt) - osf1
xtdisownselection(3xt) - xfree86
xtdisownselection(3xt) - ultrix
xtownselection(3xt) - ultrix
Similar Topics in the Unix Linux Community
AIX Question
change owner of a file
I am the owner,yet not allowed the change the ownership
changing ownership?
What is the need of ownership to a file/dir?