Table of Contents

Toolbar Group GUI Class

Github Link

 namespace lc::ui::api 

Toolbar Group Constructor


Description

Constructs a toolbar group gui object. Group after being constructed needs to be added to a tab for it to be visible in the application. Width is optional, by default width is 3.

Examples


Add Button


Description

Add Toolbar Button to the group of the given name and icon or by pointer to existing toolbar group. Toolbar button callback can also be passed in.

Examples


Find Button


Description

Find toolbar button in group by button label.

Examples


Label


Description

Get and set label for the toolbar group.

Examples


Enable and Disable


Description

Enable or disable the toolbar group.

Examples


Hide and Show


Description

Hide or show the toolbar group.

Examples


Remove


Description

Remove the current toolbar group from the tab.

Examples


List of all buttons


Description

Return list containing all buttons in the group.

Examples


Remove Button


Description

Remove button of the given name or by passing in a toolbar button object.

Examples


Width


Description

Get and set width of the toolbar group. Buttons are rearranged when width is changed.

Examples