# 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.
#
#
=head1 NAME
Tk_ClearSelection - Deselect a selection
=for category C Programming
=head1 SYNOPSIS
B<#include E<lt>tk.hE<gt>>
B<Tk_ClearSelection>(I<tkwin, selection>)
=head1 ARGUMENTS
=over 4
=item Tk_Window tkwin (in)
The selection will be cleared from the display containing this
window.
=item Atom selection (in)
The name of selection to be cleared.
=back
=head1 DESCRIPTION
B<Tk_ClearSelection> cancels the selection specified by the atom
I<selection> for the display containing I<tkwin>.
The selection need not be in I<tkwin> itself or even in
I<tkwin>'s application.
If there is a window anywhere on I<tkwin>'s display that
owns I<selection>, the window will be notified and the
selection will be cleared.
If there is no owner for I<selection> on the display, then the
procedure has no effect.
=head1 KEYWORDS
clear, selection