Class · aurore

aurore::TabFrame

On this page
aurore/views/tab_frame.hpp
#include <aurore/views/tab_frame.hpp>

class aurore::TabFrame : public aurore::Box

Constructors 2

TabFrame()
~TabFrame()

Functions 6

virtual void handleXMLElement(tinyxml2::XMLElement *element) override

Handles a child XML element.

By default, calls createFromXMLElement() and adds the result to the children of the Box.

Overrides aurore::Box::handleXMLElement

tab_frame.hpp:38
void addTab(std::string label, TabViewCreator creator)
void focusTab(int position)
void clearTabs()
void addSeparator()
void setKeepTabs(bool keep)

When on, a tab's content is kept once made rather than freed when another tab is shown: coming back to it finds its scroll and focus as left, without making it again. Off by default (one tab in memory).

tab_frame.hpp:50

Also the functions of aurore::Box (53), aurore::View (221).

Static functions 1

static View * create()

Read from Aurore's headers by Doxygen at each build · library/include