query_shapeT_query_shapeQueryShapeQueryShapequery_shape (算子)

名称

query_shapeT_query_shapeQueryShapeQueryShapequery_shape — 查询区域显示模式。

签名

query_shape( : : : DisplayShape)

Herror T_query_shape(Htuple* DisplayShape)

void QueryShape(HTuple* DisplayShape)

static HTuple HInfo::QueryShape()

static void HOperatorSet.QueryShape(out HTuple displayShape)

static HTuple HInfo.QueryShape()

def query_shape() -> Sequence[str]

描述

query_shapequery_shapeQueryShapeQueryShapeQueryShapequery_shape returns the names of all region display modes (e.g., 'original', 'circle', 'rectangle1', 'rectangle2', 'ellipse', etc.) for the window. They are used by set_shapeset_shapeSetShapeSetShapeSetShapeset_shape

执行信息

参数

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

region display mode names.

结果

query_shapequery_shapeQueryShapeQueryShapeQueryShapequery_shape returns 2 ( H_MSG_TRUE) , if the window is valid.否则将抛出异常。

可能的后继

get_shapeget_shapeGetShapeGetShapeGetShapeget_shape, set_shapeset_shapeSetShapeSetShapeSetShapeset_shape, disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region

另见

set_shapeset_shapeSetShapeSetShapeSetShapeset_shape, get_shapeget_shapeGetShapeGetShapeGetShapeget_shape, disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region

模块

基础