ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



Tk_SetCaretPos(3)                           Tk Library Procedures                          Tk_SetCaretPos(3)



____________________________________________________________________________________________________________

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)      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 Win-dows Windows
       dows IME windows.


KEYWORDS
       caret, cursor



Tk                                                   8.4                                   Tk_SetCaretPos(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.