Tk_SetCaretPos(3tk)

Tk_SetCaretPos3tk

Set the display caret location

Usage

#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.


    


            

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

11 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1–4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8–9
  6. 10–11
  7. 12–13

From tk8.6-doc 8.6.16-1 in Debian 13 (Trixie). Also shipped by tk9.0-doc. Parsed by carta from the page's man source.