- Your Widget Set For OpenGL
#include <utabbar.hpp>
Inheritance diagram for ufo::UTabBar:

Public Member Functions | |
| void | addTab (const std::string &label) |
| void | removeTab (int index) |
| void | setSelectedIndex (int index) |
| int | getSelectedIndex () const |
| std::string | getTabText (int index) const |
| int | getTabIndex (const std::string &label) const |
| int | getTabCount () const |
| USignal1< UTabBar * > & | sigSelectionChanged () |
|
|
Returns the index of the tab bar tab with the given label or -1 if no tab has this label. |
|
|
Returns the label of the tab bar tab with the given index or "" if the index is out of range. |
|
|
Removes the tab at the given index and eventually resets the selected index. |