SetCaret(3)

SetCaret3

Set the display caret location

Usage

#include <tk.h>

int
Tk_SetCaretPos(tkwin, x, y, height)

Arguments

Token for window. Window-relative x coordinate. Window-relative y coordinate. Height of the caret in the window.

Overview

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

caret, cursor

Releases

109 releases since Mac OS X 10.4; the text changed 1 time.

  1. 10.4–10.4.2
  2. 10.6–26.5

From tcl 152 in macOS 26.5. Parsed by carta from the page's man source.