query_tshapeT_query_tshapeQueryTshapeQueryTshapequery_tshape (算子)

名称

query_tshapeT_query_tshapeQueryTshapeQueryTshapequery_tshape — 查询所有可用于文本光标的形状。

警告

query_tshapequery_tshapeQueryTshapeQueryTshapeQueryTshapequery_tshape 已过时,仅出于向后兼容性考虑而保留。

签名

query_tshape( : : WindowHandle : TextCursor)

Herror T_query_tshape(const Htuple WindowHandle, Htuple* TextCursor)

void QueryTshape(const HTuple& WindowHandle, HTuple* TextCursor)

HTuple HWindow::QueryTshape() const

static void HOperatorSet.QueryTshape(HTuple windowHandle, out HTuple textCursor)

HTuple HWindow.QueryTshape()

def query_tshape(window_handle: HHandle) -> Sequence[str]

描述

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

模块

基础