237 i->value = value; |
237 i->value = value; |
238 XmToggleButtonSetState(togglebutton, (Boolean)value, False); |
238 XmToggleButtonSetState(togglebutton, (Boolean)value, False); |
239 } |
239 } |
240 |
240 |
241 static void destroy_list(Widget w, CxList *list, XtPointer d) { |
241 static void destroy_list(Widget w, CxList *list, XtPointer d) { |
242 cxListDestroy(list); |
242 cxListFree(list); |
243 } |
243 } |
244 |
244 |
245 static void radiobutton_changed(Widget w, UiVarEventData *event, XmToggleButtonCallbackStruct *tb) { |
245 static void radiobutton_changed(Widget w, UiVarEventData *event, XmToggleButtonCallbackStruct *tb) { |
246 if(event->value > 0) { |
246 if(event->value > 0) { |
247 // button in configured to enable/disable states |
247 // button in configured to enable/disable states |