diff -r 40dbf1a7526a -r fdd33964b35f ui/motif/button.h --- a/ui/motif/button.h Sun Jan 24 18:47:39 2016 +0100 +++ b/ui/motif/button.h Sun Jan 24 19:23:49 2016 +0100 @@ -36,6 +36,18 @@ extern "C" { #endif +typedef struct { + UcxList *buttons; + Widget current; + int ref; +} RadioButtonGroup; + +typedef struct { + UiObject *obj; + ui_callback callback; + void *userdata; + RadioButtonGroup *group; +} RadioEventData; // wrapper int ui_toggle_button_get(UiInteger *i); @@ -46,6 +58,9 @@ XmToggleButtonCallbackStruct *e); void ui_push_button_callback(Widget widget, UiEventData *event, XtPointer d); +int ui_radiobutton_get(UiInteger *value); +void ui_radiobutton_set(UiInteger *value, int i); + #ifdef __cplusplus } #endif