ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



Tk_ClearSelection(3)                        Tk Library Procedures                       Tk_ClearSelection(3)



____________________________________________________________________________________________________________

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 win-dow window
       dow 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



Tk                                                   4.0                                Tk_ClearSelection(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.