Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

dev_close_tooldev_close_toolDevCloseToolDevCloseTool (Operator)

Name

dev_close_tooldev_close_toolDevCloseToolDevCloseTool — Close the specified tool.

Signature

dev_close_tool( : : ToolId : )

Herror dev_close_tool(const char* ToolId)

Herror T_dev_close_tool(const Htuple ToolId)

void DevCloseTool(const HTuple& ToolId)

static void HOperatorSet.DevCloseTool(HTuple toolId)

Description

dev_close_tooldev_close_toolDevCloseToolDevCloseToolDevCloseTool closes the tool with the ToolIdToolIdToolIdToolIdtoolId. Instead of using the ToolIdToolIdToolIdToolIdtoolId, given during opening the tool, you can use the name that has to be used in dev_open_tooldev_open_toolDevOpenToolDevOpenToolDevOpenTool. In that case a arbitrary tool, which fits the parameter ToolIdToolIdToolIdToolIdtoolId, is used.

Attention

This operator is not supported for code export.

Parameters

ToolIdToolIdToolIdToolIdtoolId (input_control)  dev_tool HTupleHTupleHtuple (string) (IntPtr) (HString) (char*)

Tool identifier.

Example (HDevelop)

dev_open_tool ('matching_assistant', 0, 0, 'default','default', ToolId)
dev_close_window (ToolId)

Result

If the values of the specified parameters are correct, dev_open_tooldev_open_toolDevOpenToolDevOpenToolDevOpenTool returns 2 (H_MSG_TRUE). Otherwise an exception is raised and an error code returned.

Possible Predecessors

dev_set_tool_geometrydev_set_tool_geometryDevSetToolGeometryDevSetToolGeometryDevSetToolGeometry, dev_open_tooldev_open_toolDevOpenToolDevOpenToolDevOpenTool

Possible Successors

dev_open_tooldev_open_toolDevOpenToolDevOpenToolDevOpenTool

See also

dev_show_tooldev_show_toolDevShowToolDevShowToolDevShowTool

Module

Foundation