Button component
Parents: public CL_Component
Description
Class members
static CL_Button *create(
const CL_ComponentOptions &options,
CL_Component *parent,
CL_StyleManager *style)
virtual ~CL_Button()
void set_text(const std::string &text)
const std::string &get_text()
bool get_state()
void set_state(bool new_state)
void toggle()
void set_sticky_mode(bool sticky = true)
bool get_sticky_mode()
thSignal_v1<bool> sig_toggled
thSignal_v0 sig_clicked
thSignal_v0 sig_pressed
thSignal_v0 sig_released
std::string text
bool state
bool captured
bool outside
bool sticky_mode
See Also
None
Back to index
|