button.h
virtual const char * getType() const
getType is always implemented by derived to return the same static pointer per widget.
static std::shared_ptr< Button > create(Layout &layout, const cv::Point &pos, const std::string &buttonText, const std::string &statusMsg="", CBWidget cbVal=CBWidget())
create a button widget
std::function< void(Widget *)> CBWidget
signature of a callback which only gets the widget
Definition: widget.h:42
Generated by
