query_shapeT_query_shapeQueryShapeQueryShapequery_shape (算子名称)

名称

query_shapeT_query_shapeQueryShapeQueryShapequery_shape — Query the region display modes.

参数签名

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 (output_control)  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. Otherwise an exception is raised.

可能的后置算子

get_shapeget_shapeGetShapeGetShapeGetShapeget_shape, set_shapeset_shapeSetShapeSetShapeSetShapeset_shape, disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region

参考其它

set_shapeset_shapeSetShapeSetShapeSetShapeset_shape, get_shapeget_shapeGetShapeGetShapeGetShapeget_shape, disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region

模块

Foundation