commands.hpp

A set of command-defining classes that can be fed into widgets using the << operator.

class Close : public WidgetCommand
#include <commands.hpp>

The Close command will prevent the specified widget from accepting further appends (and instead revert to trying parents)

Public Functions

inline Close(const std::string &id)
inline bool Trigger(internal::WidgetInfo &w) const override
inline const std::string &GetID() const

Private Members

std::string close_id
class PrintStr : public WidgetCommand
#include <commands.hpp>

The PrintStr command will print a pre-specified string to a widget.

Public Functions

inline PrintStr(const std::string &_s)
inline bool Trigger(internal::WidgetInfo &w) const override
inline const std::string &GetStr() const

Private Members

std::string str