377 mn = XmCreatePulldownMenu ( mb,
"FileMB", NULL, 0 );
378 cb = XmCreateCascadeButton(mb,
"File", NULL, 0);
382 XtManageChild ( cb );
391 XmNradioAlwaysOne, True,
392 XmNradioBehavior, True,
407 bt = XmCreatePushButton ( mn,
"button", NULL, 0 );
413 XmStringFree ( xms );
414 XtAddCallback ( bt, XmNactivateCallback, (XtCallbackProc)
did_exit, 0 );
419 mn = XmCreatePulldownMenu ( mb,
"ViewMB", NULL, 0 );
420 cb = XmCreateCascadeButton(mb,
"View", NULL, 0);
427 XtManageChild ( cb );
436 XmNradioAlwaysOne, True,
437 XmNradioBehavior, True,
450 bt = XmCreatePushButton ( mn,
"button", NULL, 0 );
456 XmStringFree ( xms );
457 XtAddCallback ( bt, XmNactivateCallback, (XtCallbackProc)
view_opts,
470 bt = XmCreatePushButton ( mn,
"button", NULL, 0 );
476 XmStringFree ( xms );
477 XtAddCallback ( bt, XmNactivateCallback, (XtCallbackProc)view_opts,
491 bt = XmCreatePushButton ( mn,
"button", NULL, 0 );
497 XmStringFree ( xms );
498 XtAddCallback ( bt, XmNactivateCallback, (XtCallbackProc)view_opts,
518 bt = XmCreatePushButton ( mn,
"button", NULL, 0 );
524 XmStringFree ( xms );
525 XtAddCallback ( bt, XmNactivateCallback, (XtCallbackProc)view_opts,
531 mn = XmCreatePulldownMenu ( mb,
"CommandMB", NULL, 0 );
532 cb = XmCreateCascadeButton(mb,
"Commands", NULL, 0);
539 XtManageChild ( cb );
583 bt = XmCreatePushButton ( mn,
"button", NULL, 0 );
589 XmStringFree ( xms );
590 XtAddCallback ( bt, XmNactivateCallback, (XtCallbackProc)
dns_control,
611 bt = XmCreatePushButton ( mn,
"button", NULL, 0 );
617 XmStringFree ( xms );
618 XtAddCallback ( bt, XmNactivateCallback, (XtCallbackProc)dns_control,
633 bt = XmCreatePushButton ( mn,
"button", NULL, 0 );
639 XmStringFree ( xms );
640 XtAddCallback ( bt, XmNactivateCallback, (XtCallbackProc)dns_control,
661 bt = XmCreatePushButton ( mn,
"button", NULL, 0 );
667 XmStringFree ( xms );
668 XtAddCallback ( bt, XmNactivateCallback, (XtCallbackProc)dns_control,
707 mn = XmCreatePulldownMenu ( mb,
"HelpMB", NULL, 0 );
715 cb = XmCreateCascadeButton ( mb,
"Help", NULL, 0 );
731 bt = XmCreatePushButton ( mn,
"button", NULL, 0 );
737 XmStringFree ( xms );
742 XtVaSetValues ( mb, XmNmenuHelpWidget, cb, NULL );
static XmFontList did_default_font
Widget create_separator(Widget parent_id)