*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Tk/ownselect (3)              
Title
Content
Arch
Section
 

Contents


Tk_OwnSelection(3Tk)					  Tk_OwnSelection(3Tk)


NAME    [Toc]    [Back]

     Tk_OwnSelection - make a window the owner of the primary selection

SYNOPSIS    [Toc]    [Back]

     #include <tk.h>

     Tk_OwnSelection(tkwin, selection, proc, clientData)		      |

ARGUMENTS    [Toc]    [Back]

     Tk_Window	      tkwin	   (in)	     Window that is to become new
					     selection owner.

     Atom	      selection	   (in)	     The name of the selection to be  |
					     owned, such as XA_PRIMARY.

     Tk_LostSelProc   *proc	   (in)	     Procedure to invoke when tkwin
					     loses selection ownership later.

     ClientData	      clientData   (in)	     Arbitrary one-word	value to pass
					     to	proc.

DESCRIPTION    [Toc]    [Back]

     Tk_OwnSelection arranges for tkwin	to become the new owner	of the	      |
     selection specified by the	atom selection.	 After this call completes,   |
     future requests for the selection will be directed	to handlers created   |
     for tkwin using Tk_CreateSelHandler.  When	tkwin eventually loses the
     selection ownership, proc will be invoked so that the window can clean
     itself up (e.g. by	unhighlighting the selection).	Proc should have
     arguments and result that match the type Tk_LostSelProc:
	  typedef void Tk_LostSelProc(ClientData clientData);
     The clientData parameter to proc is a copy	of the clientData argument
     given to Tk_OwnSelection, and is usually a	pointer	to a data structure
     containing	application-specific information about tkwin.

KEYWORDS    [Toc]    [Back]

     own, selection owner


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
XmTextFieldClearSelection HP-UX A TextField function that clears the primary selection
XmTextGetSelection IRIX A Text function that retrieves the value of the primary selection
XmTextFieldGetSelection HP-UX A TextField function that retrieves the value of the primary selection
XmTextRemove IRIX A Text function that deletes the primary selection
XmTextFieldGetSelection IRIX A TextField function that retrieves the value of the primary selection
XmTextFieldRemove Tru64 A TextField function that deletes the primary selection
XmTextFieldClearSelection Tru64 A TextField function that clears the primary selection
XmTextClearSelection Tru64 A Text function that clears the primary selection
XmTextFieldRemove IRIX A TextField function that deletes the primary selection
XmTextFieldRemove HP-UX A TextField function that deletes the primary selection
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service