19 #ifndef _MFORMS_BUTTON_H_
20 #define _MFORMS_BUTTON_H_
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
41 bool (*create)(Button *
self,
ButtonType btype);
42 void (*set_text)(Button *
self,
const std::string &text);
43 void (*set_icon)(Button *
self,
const std::string &path);
44 void (*enable_internal_padding)(Button *
self, bool);
62 void enable_internal_padding(
bool flag);
65 void set_text(
const std::string &text);
68 void set_icon(
const std::string &icon);
78 virtual void callback();