DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

Tk_ClearSelection(3)




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 selec-
     tion need not be in tkwin itself or even in tkwin's applica-
     tion.  If there is a window anywhere on tkwin's display that
     owns selection, the window will be notified and  the  selec-
     tion will be cleared.  If there is no owner for selection on
     the display, then the procedure has no effect.


KEYWORDS

     clear, selection

Tk                      Last change: 4.0                        1


Man(1) output converted with man2html