lecui 1.0.0-alpha.20
lecui C++ user interface library
|
Events specific to this widget. More...
#include <checkbox.h>
Public Attributes | |
std::function< void(checkbox_status checked)> | check = nullptr |
Check event. Happens when the checkbox is clicked. More... | |
![]() | |
std::function< void()> | action = nullptr |
Action event. Happens when either the space bar or enter key is pressed, or if the widget is clicked. | |
std::function< void()> | click = nullptr |
Click event. Happens when the widget is clicked. | |
std::function< void()> | right_click = nullptr |
Right click event. Happens when the widget is right-clicked. | |
std::function< void()> | mouse_enter = nullptr |
Mouse enter event. Happens when the mouse enters the widget. | |
std::function< void()> | mouse_leave = nullptr |
Mouse leave event. Happens when the mouse leaves the widget. | |
Events specific to this widget.
std::function<void(checkbox_status checked)> liblec::lecui::widgets::checkbox::checkbox_events::check = nullptr |
Check event. Happens when the checkbox is clicked.
The parameter indicates the new checkbox status.