Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tk_setcaretpos(3tk) [opensolaris man page]

Tk_SetCaretPos(3TK)					       Tk Library Procedures					       Tk_SetCaretPos(3TK)

__________________________________________________________________________________________________________________________________________________

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 Windows IME windows. KEYWORDS
caret, cursor ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTk | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tk is available on http://opensolaris.org. Tk 8.4 Tk_SetCaretPos(3TK)

Check Out this Related Man Page

Tk_CoordsToWindow(3TK)					       Tk Library Procedures					    Tk_CoordsToWindow(3TK)

__________________________________________________________________________________________________________________________________________________

NAME
Tk_CoordsToWindow - Find window containing a point SYNOPSIS
#include <tk.h> Tk_Window Tk_CoordsToWindow(rootX, rootY, tkwin) ARGUMENTS
int rootX (in) X-coordinate (in root window coordinates). int rootY (in) Y-coordinate (in root window coordinates). Tk_Window tkwin (in) Token for window that identifies application. _________________________________________________________________ DESCRIPTION
Tk_CoordsToWindow locates the window that contains a given point. The point is specified in root coordinates with rootX and rootY (if a virtual-root window manager is in use then rootX and rootY are in the coordinate system of the virtual root window). The return value from the procedure is a token for the window that contains the given point. If the point is not in any window, or if the containing window is not in the same application as tkwin, then NULL is returned. The containing window is decided using the same rules that determine which window contains the mouse cursor: if a parent and a child both contain the point then the child gets preference, and if two siblings both contain the point then the highest one in the stacking order (i.e. the one that's visible on the screen) gets preference. KEYWORDS
containing, coordinates, root window ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTk | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tk is available on http://opensolaris.org. Tk Tk_CoordsToWindow(3TK)
Man Page