query_tshapeT_query_tshapeQueryTshapeQueryTshapequery_tshape (算子)
名称
query_tshapeT_query_tshapeQueryTshapeQueryTshapequery_tshape — 查询所有可用于文本光标的形状。
警告
query_tshapequery_tshapeQueryTshapeQueryTshapeQueryTshapequery_tshape 已过时,仅出于向后兼容性考虑而保留。
签名
描述
query_tshapequery_tshapeQueryTshapeQueryTshapeQueryTshapequery_tshape queries the available shapes of text
cursors for the output window. The retrieved shapes can be
used by the operator set_tshapeset_tshapeSetTshapeSetTshapeSetTshapeset_tshape。
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (输入控制) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
窗口句柄。
TextCursorTextCursorTextCursorTextCursortextCursortext_cursor (输出控制) string-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of the available text cursors.
结果
query_tshapequery_tshapeQueryTshapeQueryTshapeQueryTshapequery_tshape 返回 2 ( H_MSG_TRUE )。
可能的前趋
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window
可能的后继
set_tshapeset_tshapeSetTshapeSetTshapeSetTshapeset_tshape,
write_stringwrite_stringWriteStringWriteStringWriteStringwrite_string,
read_stringread_stringReadStringReadStringReadStringread_string
另见
set_tshapeset_tshapeSetTshapeSetTshapeSetTshapeset_tshape,
get_shapeget_shapeGetShapeGetShapeGetShapeget_shape,
set_tpositionset_tpositionSetTpositionSetTpositionSetTpositionset_tposition,
write_stringwrite_stringWriteStringWriteStringWriteStringwrite_string,
read_stringread_stringReadStringReadStringReadStringread_string
模块
基础