This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dev:v3:gui_api:toolbar:toolbartab [2020/07/07 05:27] – [Examples] jedi18 | dev:v3:gui_api:toolbar:toolbartab [2020/07/07 08:29] (current) – jedi18 | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| ---- | ---- | ||
| - | ===== Add Toolbar | + | ===== Add Group ===== |
| ---- | ---- | ||
| Line 40: | Line 40: | ||
| ---- | ---- | ||
| - | ===== Find Toolbar | + | ===== Find Group ===== |
| ---- | ---- | ||
| Line 98: | Line 98: | ||
| * <code lua> tab1: | * <code lua> tab1: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Add Button ===== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Description ==== | ||
| + | |||
| + | Add Toolbar Button to the tab by passing in Toolbar Button object and name of group to add button to. | ||
| + | |||
| + | * Pointer to Toolbar Button - // | ||
| + | |||
| + | ==== Examples ==== | ||
| + | |||
| + | * <code lua> tab1: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Get Group ===== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Description ==== | ||
| + | |||
| + | Get Toolbar Group by name from the tab. | ||
| + | |||
| + | * Toolbar Group Label - //string// | ||
| + | * returns // | ||
| + | |||
| + | ==== Examples ==== | ||
| + | |||
| + | * <code lua> local group1 = tab1: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== List of all groups ===== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Description ==== | ||
| + | |||
| + | Return list containing all groups in the tab. | ||
| + | |||
| + | ==== Examples ==== | ||
| + | |||
| + | * <code lua> local groupsList = tab1: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Find Button ===== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Description ==== | ||
| + | |||
| + | Find toolbar button in the group of the given name in the tab. | ||
| + | |||
| + | * Toolbar Group object - // | ||
| + | * returns // | ||
| + | |||
| + | ==== Examples ==== | ||
| + | |||
| + | * <code lua> local button1 = tab1: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Remove Group ===== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Description ==== | ||
| + | |||
| + | Remove group of the given name or by passing in a toolbar group object. | ||
| + | |||
| + | * Toolbar Group object - // | ||
| + | * Label of Toolbar Group - //string// | ||
| + | |||
| + | ==== Examples ==== | ||
| + | |||
| + | * <code lua> tab1: | ||
| + | * <code lua> tab1: | ||
| ---- | ---- | ||