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
28 Tk_SetCaretPos sets the caret location for the display of the specified
29 Tk_Window tkwin. The caret is the per-display cursor location used for
30 indicating global focus (e.g. to comply with Microsoft Accessibility
31 guidelines), as well as for location of the over-the-spot XIM (X Input
32 Methods) or Windows IME windows.
33
35 caret, cursor
36
37
38
39Tk 8.4 Tk_SetCaretPos(3)