Copyright (C) 2000-2012 |
Manpages Tk_OwnSelectionSection: Tk Library Procedures (3)Updated: 4.0 Index Return to Main Contents NAMETk_OwnSelection - make a window the owner of the primary selectionSYNOPSIS#include <tk.h> Tk_OwnSelection(tkwin, selection, proc, clientData) ARGUMENTS
DESCRIPTIONTk_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:
KEYWORDSown, selection owner
IndexThis document was created by man2html, using the manual pages. Time: 01:57:58 GMT, April 24, 2024 |