## Tcl9.0.3/Tk9.0.3 Documentation > Tk C API > SetCaret

### Tcl/Tk Applications | Tcl Commands | Tk Commands | [incr Tcl] Package Commands | SQLite3 Package Commands | TDBC Package Commands | tdbc::mysql Package Commands | tdbc::odbc Package Commands | tdbc::postgres Package Commands | tdbc::sqlite3 Package Commands | Thread Package Commands | Tcl C API | Tk C API | [incr Tcl] Package C API | TDBC Package C API

### NAME

Tk_SetCaretPos — ∧印の位置を表示器上に設定する　 set the display caret location

### SYNOPSIS

#include <tk.h>
int
Tk_SetCaretPos(tkwin, x, y, height)

### 引数 ARGUMENTS

Tk_Window tkwin (入力in)
  窓の為の字句 Token for window.

int x (入力in)
  窓相対 x 座標｡ Window-relative x coordinate.

int y (入力in)
  窓相対 y 座標｡ Window-relative y coordinate.

int h (入力in)
  窓内の∧印の高さ｡ Height of the caret in the window.

### 説明 DESCRIPTION

Tk_SetCaretPos は指定された Tk_Window の tkwin の表示の為に∧印の位置を設定する｡その∧印は､直上の XIM (X の入力手段)やWindows IME の窓の位置と同じように大域の注目を指し示す為に使われる表示毎の遊走子である｡ 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
Copyright © 2002 ActiveState Corporation.