Home › Tk Library Procedures Tk
Tk_SetCaretPos C API
Set the display caret location
literal type exactly as shown
argument replace with your value
?optional? may be omitted
Synopsis#
#include <tk.h>
int Tk_SetCaretPos(tkwin, x, y, height)#
Arguments#
- Tk_Window tkwin (in)
-
Token for window.
- int x (in)
-
Window-relative x coordinate.
- int y (in)
-
Window-relative y coordinate.
- int h (in)
-
Height of the caret in the window.
Description#
Tk_SetCaretPos sets the caret location for the display of the specified Tk_Window tkwin. The caret is the per-display cursor location used for indicating global focus (e.g. to comply with Microsoft Accessibility guidelines), as well as for location of the over-the-spot XIM (X Input Methods) or Windows IME windows.
Keywords#
Copyright#
- Copyright © 2002 ActiveState Corporation