This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
dev:v3:gui_api:toolbar:toolbartab [2020/07/07 04:59] – created jedi18 | dev:v3:gui_api:toolbar:toolbartab [2020/07/07 07:21] – jedi18 | ||
---|---|---|---|
Line 40: | Line 40: | ||
---- | ---- | ||
- | ===== Remove Callback | + | ===== Find Toolbar Group ===== |
---- | ---- | ||
Line 46: | Line 46: | ||
==== Description ==== | ==== Description ==== | ||
- | Remove lua function called associated with the given name. Only named callbacks can be removed. | + | Find toolbar group in tab by group label. |
- | * Callback name - //string// | + | * Toolbar Group Label - //string// |
+ | * returns // | ||
==== Examples ==== | ==== Examples ==== | ||
- | * <code lua> | + | * <code lua> |
---- | ---- | ||
Line 62: | Line 63: | ||
==== Description ==== | ==== Description ==== | ||
- | Get and set label for the menu item. | + | Get and set label for the toolbar tab. |
==== Examples ==== | ==== Examples ==== | ||
- | * <code lua> message(item1:label()) </ | + | * <code lua> message(tab1:label()) </ |
- | * <code lua> | + | * <code lua> |
---- | ---- | ||
- | ===== Hide and Show ===== | + | ===== Enable |
---- | ---- | ||
Line 77: | Line 78: | ||
==== Description ==== | ==== Description ==== | ||
- | Hide or show the menu item. | + | Enable |
==== Examples ==== | ==== Examples ==== | ||
- | * <code lua> | + | * <code lua> |
- | * <code lua> | + | * <code lua> |
---- | ---- | ||
- | ===== Position | + | ===== Remove |
---- | ---- | ||
Line 92: | Line 93: | ||
==== Description ==== | ==== Description ==== | ||
- | Get the current | + | Remove |
- | | + | ==== Examples ==== |
+ | |||
+ | | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== 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 ==== | ==== Examples ==== | ||
- | * <code lua> | + | * <code lua> |
- | * <code lua> item1: | + | |
---- | ---- | ||
- | ===== Remove | + | ===== Get Group ===== |
---- | ---- | ||
Line 109: | Line 123: | ||
==== Description ==== | ==== Description ==== | ||
- | Remove the current menu item from the parent menu. | + | Get Toolbar Group by name from the tab. |
+ | |||
+ | * Toolbar Group Label - // | ||
+ | * returns // | ||
==== Examples ==== | ==== Examples ==== | ||
- | * <code lua> | + | * <code lua> |
---- | ---- |