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
22
24 Tk_ClearSelection cancels the selection specified by the atom selection
25 for the display containing tkwin. The selection need not be in tkwin
26 itself or even in tkwin's application. If there is a window anywhere
27 on tkwin's display that owns selection, the window will be notified and
28 the selection will be cleared. If there is no owner for selection on
29 the display, then the procedure has no effect.
30
31
33 clear, selection
34
35
36
37Tk 4.0 Tk_ClearSelection(3)