get_tshapeT_get_tshapeGetTshapeGetTshapeget_tshape (算子名称)
名称
get_tshapeT_get_tshapeGetTshapeGetTshapeget_tshape
— Get the shape of the text cursor.
Warning
get_tshapeget_tshapeGetTshapeGetTshapeGetTshapeget_tshape
is obsolete and is only provided for
reasons of backward compatibility.
参数签名
描述
get_tshapeget_tshapeGetTshapeGetTshapeGetTshapeget_tshape
queries the shape of the text cursor for the
output window. A new cursor shape is set by the operator
set_tshapeset_tshapeSetTshapeSetTshapeSetTshapeset_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_tshapequery_tshapeQueryTshapeQueryTshapeQueryTshapequery_tshape
.
运行信息
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
参数表
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle
(input_control) window →
HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
TextCursorTextCursorTextCursorTextCursortextCursortext_cursor
(output_control) string →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the current text cursor.
结果
get_tshapeget_tshapeGetTshapeGetTshapeGetTshapeget_tshape
returns 2 (
H_MSG_TRUE)
if the window is valid. Otherwise an
exception is raised.
可能的前置算子
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window
,
set_fontset_fontSetFontSetFontSetFontset_font
可能的后置算子
set_tshapeset_tshapeSetTshapeSetTshapeSetTshapeset_tshape
,
set_tpositionset_tpositionSetTpositionSetTpositionSetTpositionset_tposition
,
write_stringwrite_stringWriteStringWriteStringWriteStringwrite_string
,
read_stringread_stringReadStringReadStringReadStringread_string
,
read_charread_charReadCharReadCharReadCharread_char
参考其它
set_tshapeset_tshapeSetTshapeSetTshapeSetTshapeset_tshape
,
query_tshapequery_tshapeQueryTshapeQueryTshapeQueryTshapequery_tshape
,
write_stringwrite_stringWriteStringWriteStringWriteStringwrite_string
,
read_stringread_stringReadStringReadStringReadStringread_string
模块
Foundation