1Tk_ClearSelection(3) Tk Library Procedures Tk_ClearSelection(3)
2
3
4
5______________________________________________________________________________
6
8 Tk_ClearSelection - Deselect a selection
9
11 #include <tk.h>
12
13 Tk_ClearSelection(tkwin, selection)
14
16 Tk_Window tkwin (in) The selection will be cleared from the
17 display containing this window.
18
19 Atom selection (in) The name of selection to be cleared.
20______________________________________________________________________________
21
23 Tk_ClearSelection cancels the selection specified by the atom selection
24 for the display containing tkwin. The selection need not be in tkwin
25 itself or even in tkwin's application. If there is a window anywhere
26 on tkwin's display that owns selection, the window will be notified and
27 the selection will be cleared. If there is no owner for selection on
28 the display, then the procedure has no effect.
29
31 clear, selection
32
33
34
35Tk 4.0 Tk_ClearSelection(3)