(cur->button_type == BUTTON_TYPE_TOGGLE
? XmN_OF_MANY : XmONE_OF_MANY));
++ac;
- button = XmCreateToggleButtonGadget (widget, cur->name, al, ac);
+ button = XmCreateToggleButton (widget, cur->name, al, ac);
}
else
- button = XmCreatePushButtonGadget (widget, cur->name, al, ac);
+ button = XmCreatePushButton (widget, cur->name, al, ac);
xm_update_label (instance, button, cur);
/* Non-zero values don't work reliably in conjunction with
Emacs' event loop */
XtSetArg (al [ac], XmNmappingDelay, 0); ac++;
- button = XmCreateCascadeButtonGadget (widget, cur->name, al, ac);
+ button = XmCreateCascadeButton (widget, cur->name, al, ac);
xm_update_label (instance, button, cur);
/* Tell Motif to put it in the right place */
XtSetArg (al [ac], XmNpositionIndex , i); ac++;
#endif
- button = XmCreateCascadeButtonGadget (parent, val->name, al, ac);
+ button = XmCreateCascadeButton (parent, val->name, al, ac);
xm_update_label (instance, button, val);
XtAddCallback (button, XmNcascadingCallback, xm_pull_down_callback,