Get the shape of the text cursor.
get_tshape queries the shape of the text cursor for the output window. A new cursor shape is set by the operator set_tshape.
A text cursor marks the current position for text output (which can also be invisible). It is different from the mouse cursor (although both will be called "cursor" if the context makes misconceptions impossible). The available shapes for the text cursor can be queried with query_tshape.
|
WindowHandle (input_control) |
window -> integer |
| Window identifier. | |
|
TextCursor (output_control) |
string -> string |
| Name of the current text cursor. | |
get_tshape returns 2 (H_MSG_TRUE) if the window is valid. Otherwise an exception handling is raised.
get_tshape is reentrant, local, and processed without parallelization.
open_window, open_textwindow, set_font
set_tshape, set_tposition, write_string, read_string, read_char
set_tshape, query_tshape, write_string, read_string
System