Tk_ClearSelection - Deselect a selection
#include <tk.h> Tk_ClearSelection(tkwin, selection)
Tk_ClearSelection(3tk) Tk Library Procedures Tk_ClearSelection(3tk) ______________________________________________________________________________ NAME Tk_ClearSelection - Deselect a selection SYNOPSIS #include <tk.h> Tk_ClearSelection(tkwin, selection) ARGUMENTS Tk_Window tkwin (in) The selection will be cleared from the display containing this window. Atom selection (in) The name of selection to be cleared. ______________________________________________________________________________ DESCRIPTION Tk_ClearSelection cancels the selection specified by the atom selection for the display containing tkwin. The selection need not be in tkwin itself or even in tkwin's application. If there is a window anywhere on tkwin's display that owns selection, the window will be notified and the selection will be cleared. If there is no owner for selection on the display, then the procedure has no effect. KEYWORDS clear, selection ATTRIBUTES See attributes(7) for descriptions of the following attributes: +---------------+------------------+ |ATTRIBUTE TYPE | ATTRIBUTE VALUE | +---------------+------------------+ |Availability | runtime/tk-8 | +---------------+------------------+ |Stability | Uncommitted | +---------------+------------------+ NOTES Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source- code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from https://source- forge.net/projects/tcl/files/Tcl/8.6.7/tk8.6.7-src.tar.gz/download. Further information about this software can be found on the open source community website at https://www.tcl.tk/. Tk 4.0 Tk_ClearSelection(3tk)