--- a/ui/ui/button.h Sun Sep 29 13:32:51 2024 +0200 +++ b/ui/ui/button.h Sun Sep 29 20:25:41 2024 +0200 @@ -41,6 +41,8 @@ UiBool vexpand; int colspan; int rowspan; + const char *name; + const char *style_class; const char* label; const char* stockid; @@ -56,7 +58,9 @@ UiBool vexpand; int colspan; int rowspan; - + const char *name; + const char *style_class; + const char* label; const char* stockid; const char* icon; @@ -66,7 +70,7 @@ ui_callback onchange; void* onchangedata; } UiToggleArgs; - + #define ui_button(obj, ...) ui_button_create(obj, (UiButtonArgs){ __VA_ARGS__ } ) #define ui_togglebutton(obj, ...) ui_togglebutton_create(obj, (UiToggleArgs){ __VA_ARGS__ } ) #define ui_checkbox(obj, ...) ui_checkbox_create(obj, (UiToggleArgs){ __VA_ARGS__ } )