ClrSelect.3 revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9

Copyright (c) 1992-1994 The Regents of the University of California.
Copyright (c) 1994-1996 Sun Microsystems, Inc.

See the file "license.terms" for information on usage and redistribution
of this file, and for a DISCLAIMER OF ALL WARRANTIES.

SCCS: @(#) ClrSelect.3 1.10 96/08/27 13:21:16

.so man.macros
Tk_ClearSelection 3 4.0 Tk "Tk Library Procedures"
S
NAME
Tk_ClearSelection - Deselect a selection
SYNOPSIS
#include <tk.h>
Tk_ClearSelection(tkwin, selection)
ARGUMENTS
.AS Tk_Window tkwin .AP Tk_Window tkwin in The selection will be cleared from the display containing this window. .AP Atom selection in The name of selection to be cleared. E
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