-
-
Notifications
You must be signed in to change notification settings - Fork 53
AddTab
otvv edited this page Aug 10, 2020
·
11 revisions
This function adds a new tab inside a Container.
This function takes a std::string
as an argument.
The argument is: The name of the tab that you want to add into the Tab Panel.
List of widgets that are using this function:
TabPanel
Here's how you can add a new tab into the Tab Panel:
buildrPattern.Widget(TabPanel).Tab("Tab 1")
.Tab("Tab 2")
.Tab("Tab 3")
.Tab("Tab 4")
.Tab("Tab 5")
.Font("Tahoma", 12, true).Position(..).Font(...).SpawnIn(Container);
After adding this into your menu, You should have a Tab Panel (widget) with 5 tab buttons.
Next you will learn about the AddWidget function.
You can also read the library comments/functions for additional info.