1Tk_SetCaretPos(3) Tk Library Procedures Tk_SetCaretPos(3)
2
3
4
5______________________________________________________________________________
6
8 Tk_SetCaretPos - set the display caret location
9
11 #include <tk.h>
12
13 int
14 Tk_SetCaretPos(tkwin, x, y, height)
15
17 Tk_Window tkwin (in) Token for window.
18
19 int x (in) Window-relative x coordinate.
20
21 int y (in) Window-relative y coordinate.
22
23 int h (in) Height of the caret in the
24 window.
25_________________________________________________________________
26
27
29 Tk_SetCaretPos sets the caret location for the display of the specified
30 Tk_Window tkwin. The caret is the per-display cursor location used for
31 indicating global focus (e.g. to comply with Microsoft Accessibility
32 guidelines), as well as for location of the over-the-spot XIM (X Input
33 Methods) or Windows IME windows.
34
35
37 caret, cursor
38
39
40
41Tk 8.4 Tk_SetCaretPos(3)