Basic UI

Tabs

setDefaultTab("NAME HERE")

 The following code demonstrates how to use setDefaultTab to create a new tab and add macros / buttons to that tab.

setDefaultTab("Test")

macro(100, "Testing", function()
  info("test macro")
end)

addButton("id1", "Test Button", function()
  info("test button")
end)
addTab("NAME HERE")

The following code demonstrates how to use addTab to create a new tab and add macros / buttons to that tab.

local newTab = addTab("Test")

macro(100, "Testing", function()
  info("test macro")
end, newTab)

addButton("id1", "Test Button", function()
  info("test button")
end, newTab)

tabs, labels, buttons, separator - with examples -- ( WORK IN PROGRESS, WILL BE ADDED SOON TO THIS DOCUMENTATION PAGE )