Tk_OwnSelection man page on BSDOS

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



Tk_OwnSelection(3)    Tk Library Procedures    Tk_OwnSelection(3)

_________________________________________________________________

NAME
       Tk_OwnSelection	-  make a window the owner of the primary
       selection

SYNOPSIS
       #include <tk.h>

       Tk_OwnSelection(tkwin, selection, proc, clientData)

ARGUMENTS
       Tk_Window	tkwin	     (in)      Window that is  to
					       become  new selec-
					       tion 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
       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 win-
       dow can clean itself up (e.g. by unhighlighting the selec-
       tion).	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  client-
       Data  argument  given to Tk_OwnSelection, and is usually a
       pointer to a data  structure  containing	 application-spe-
       cific information about tkwin.

KEYWORDS
       own, selection owner

Tk			       4.0				1

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

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