set_iconT_set_iconSetIconSetIconset_icon (算子名称)
名称
set_iconT_set_iconSetIconSetIconset_icon — Icon definition for region output.
参数签名
描述
set_iconset_iconSetIconSetIconSetIconset_icon defines an icon for region output
(disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region). It is displayed
in the regions center of gravity. The use of this icon is activated
with set_shapeset_shapeSetShapeSetShapeSetShapeset_shape.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
IconIconIconIconiconicon (input_object) region → objectHRegionHObjectHRegionHobject
Icon for center of gravity.
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
例程 (C)
/* draw a region and an icon */
T_draw_region(&Region,WindowHandle);
T_draw_region(&Icon,WindowHandle);
set_icon(Icon);
create_tuple_s(&icon,"icon");
T_set_shape(WindowHandle,icon);
destroy_tuple(icon);
T_disp_region(Region,WindowHandle);
结果
set_iconset_iconSetIconSetIconSetIconset_icon returns 2 (
H_MSG_TRUE)
, if exactly one region is supplied.
Otherwise an exception is raised.
可能的前置算子
gen_circlegen_circleGenCircleGenCircleGenCirclegen_circle,
gen_ellipsegen_ellipseGenEllipseGenEllipseGenEllipsegen_ellipse,
gen_rectangle1gen_rectangle1GenRectangle1GenRectangle1GenRectangle1gen_rectangle1,
gen_rectangle2gen_rectangle2GenRectangle2GenRectangle2GenRectangle2gen_rectangle2,
draw_regiondraw_regionDrawRegionDrawRegionDrawRegiondraw_region
可能的后置算子
set_shapeset_shapeSetShapeSetShapeSetShapeset_shape,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
模块
Foundation