query_mshapeT_query_mshapeQueryMshapeQueryMshapequery_mshape (算子)

名称

query_mshapeT_query_mshapeQueryMshapeQueryMshapequery_mshape — 查询所有可用的鼠标指针形状。

警告

This operator does not work in an HDevelop graphics window opened with dev_open_window.

签名

query_mshape( : : WindowHandle : ShapeNames)

Herror T_query_mshape(const Htuple WindowHandle, Htuple* ShapeNames)

void QueryMshape(const HTuple& WindowHandle, HTuple* ShapeNames)

HTuple HWindow::QueryMshape() const

static void HOperatorSet.QueryMshape(HTuple windowHandle, out HTuple shapeNames)

HTuple HWindow.QueryMshape()

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

描述

query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshapequery_mshape returns the names of all available mouse pointer shapes for the window. These can be used in the operator set_mshapeset_mshapeSetMshapeSetMshapeSetMshapeset_mshape。If no mouse pointers are available, the empty tuple is returned.

执行信息

参数

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (输入控制)  window HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

窗口句柄。

ShapeNamesShapeNamesShapeNamesShapeNamesshapeNamesshape_names (输出控制)  string-array HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Available mouse pointer names.

结果

query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshapequery_mshape 返回值 2 ( H_MSG_TRUE )。

可能的前趋

open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window, get_mshapeget_mshapeGetMshapeGetMshapeGetMshapeget_mshape

可能的后继

set_mshapeset_mshapeSetMshapeSetMshapeSetMshapeset_mshape

另见

set_mshapeset_mshapeSetMshapeSetMshapeSetMshapeset_mshape, get_mshapeget_mshapeGetMshapeGetMshapeGetMshapeget_mshape

模块

基础