Class · aurore

aurore::AppletFrame

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

class aurore::AppletFrame : public aurore::Box

Constructors 3

AppletFrame()
AppletFrame(View *contentView)
~AppletFrame()

Functions 13

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

Handles a child XML element.

You can redefine this method to handle child XML like as you want in your own views.

If left unimplemented, will throw an exception because raw views cannot handle child XML elements (Boxes can).

Overrides aurore::View::handleXMLElement

applet_frame.hpp:49
void pushContentView(View *view)
void popContentView(std::function< void(void)> cb = [] {})
void popToRootContentView(std::function< void(void)> cb = [] {})
void setTitle(std::string title)
void setIcon(std::string path)
void setHeaderVisibility(Visibility visibility)
void setFooterVisibility(Visibility visibility)
void setHeaderStyle(HeaderStyle style)
void updateAppletFrameItem()
View * getContentView()
Box * getHeader()
Box * getFooter()

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

Static functions 1

static View * create()

Static attributes 1

static bool HIDE_BOTTOM_BAR = false

Protected functions 1

void setContentView(View *view)

Sets the content view for that AppletFrame. Will be placed between header and footer and expanded with grow factor and width / height to AUTO.

applet_frame.hpp:101

Protected attributes 2

std::vector< View * > contentViewStack
View * contentView = nullptr

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