- form = XtVaCreateManagedWidget ("form", formWidgetClass, toplevel, NULL);
- quit = XtVaCreateManagedWidget ("quit", commandWidgetClass, form, XtNlabel,
- "Quit", NULL);
- text = XtVaCreateManagedWidget ("text", asciiTextWidgetClass, form,
- XtNfromVert, quit, XtNresize,
- XawtextResizeBoth, XtNresizable, True, NULL);
+ form = XtVaCreateManagedWidget ("form", formWidgetClass, toplevel, NULL);
+ /* The button panel */
+ buttons = XtVaCreateManagedWidget ("form", formWidgetClass, form, NULL);
+ phasers = XtVaCreateManagedWidget("phasers",
+ commandWidgetClass, buttons,
+ NULL);
+ photons = XtVaCreateManagedWidget("photons",
+ commandWidgetClass, buttons,
+ NULL);
+ destruct = XtVaCreateManagedWidget("destruct",
+ commandWidgetClass, buttons,
+ NULL);
+ quit = XtVaCreateManagedWidget("quit",
+ commandWidgetClass, buttons,
+ NULL);