3#include "../widgets/checkbox.h"
12 static const char* name() {
return "Checkbox"; }
std::function< void(gridui::Checkbox &)> callback_t
void addCallback(const std::string &name, const callback_t &cb)
Checkbox & checked(bool checked)
Checkbox & fontSize(float fontSize)
Checkbox & color(const std::string &color)
Checkbox & text(const std::string &text)
Checkbox & onChanged(callback_t cb)