v2.33
 
IToolButton Interface Reference

The tool button is a control which allows user to trigger an action. More...

Inheritance diagram for IToolButton:

Properties

IAction Action [get, set]
 Sets an action to the tool button.
 
GUID Id [get]
 The identifier of the tool button.
 
BSTR IdS [get]
 The Id of the tool button as a string.
 

Detailed Description

The tool button is a control which allows user to trigger an action.

A tool button always occupies its own line in a tool panel, with both the icon and text shown on it.

A tool button exists in Renga until the application is closed. The same tool button can be added to multiple UI panel extensions simultaneously.

See also
IUI::CreateToolButton(), IUIPanelExtension, IAction

Property Documentation

◆ Action

IAction Action
getset

Sets an action to the tool button.

Parameters
[in]pActionThe action to add to the tool button.