• skip to content

Wiki

User Tools

  • Admin
  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
Trace:

dev:v3:gui_api:toolbar:toolbartab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:v3:gui_api:toolbar:toolbartab [2020/07/07 05:27] – jedi18dev:v3:gui_api:toolbar:toolbartab [2020/07/07 08:29] (current) – jedi18
Line 19: Line 19:
  
 ---- ----
-===== Add Toolbar Group =====+===== Add Group =====
  
 ---- ----
Line 40: Line 40:
 ---- ----
  
-===== Find Toolbar Group =====+===== Find Group =====
  
 ---- ----
Line 97: Line 97:
 ==== Examples ==== ==== Examples ====
  
-  * <code lua> tab:remove() </code>+  * <code lua> tab1:remove() </code> 
 + 
 +---- 
 + 
 +===== 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 - //ToolbarButton// , Toolbar Group Name - //string// 
 + 
 +==== Examples ==== 
 + 
 +  * <code lua> tab1:addButton(button1, "Modify") </code> 
 + 
 +---- 
 + 
 +===== Get Group ===== 
 + 
 +---- 
 + 
 +==== Description ==== 
 + 
 +Get Toolbar Group by name from the tab. 
 + 
 +  * Toolbar Group Label - //string// 
 +    * returns //ToolbarGroup// 
 + 
 +==== Examples ==== 
 + 
 +  * <code lua> local group1 = tab1:groupByName("Group1") </code> 
 + 
 +---- 
 + 
 +===== List of all groups ===== 
 + 
 +---- 
 + 
 +==== Description ==== 
 + 
 +Return list containing all groups in the tab. 
 + 
 +==== Examples ==== 
 + 
 +  * <code lua> local groupsList = tab1:groups() </code> 
 + 
 +---- 
 + 
 +===== Find Button ===== 
 + 
 +---- 
 + 
 +==== Description ==== 
 + 
 +Find toolbar button in the group of the given name in the tab. 
 + 
 +  * Toolbar Group object - //ToolbarGroup// , Toolbar Button Label - //string// 
 +    * returns //ToolbarButton// 
 + 
 +==== Examples ==== 
 + 
 +  * <code lua> local button1 = tab1:buttonByName("Button1", group1) </code> 
 + 
 +---- 
 + 
 +===== Remove Group ===== 
 + 
 +---- 
 + 
 +==== Description ==== 
 + 
 +Remove group of the given name or by passing in a toolbar group object. 
 + 
 +  * Toolbar Group object - //ToolbarGroup// 
 +  * Label of Toolbar Group - //string// 
 + 
 +==== Examples ==== 
 + 
 +  * <code lua> tab1:removeGroup("Group1") </code> 
 +  * <code lua> tab1:removeGroup(group1) </code>
  
 ---- ----
dev/v3/gui_api/toolbar/toolbartab.1594099653.txt.gz · Last modified: 2020/07/07 05:27 by jedi18

Page Tools

  • Show page
  • Old revisions
  • Backlinks
  • Export to PDF
  • Rename Page
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki