- (tk/caret window ?#:x x? ?#:y y? ?#:height height?)
- sets and queries the caret location for the display of the specified Tk window window. 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.
If no options are specified, the last values used for setting the caret are return in option-value pair format. #:x and #:y represent window-relative coordinates, and #:height is the height of the current cursor location, or the height of the specified window if none is given.
Corresponding Tcl/Tk command:
tk caret ...
© Author
| Home
| Sitemap
|