3283 XmString xmOk, xmApply, xmCancel, xmList, xmSelection;
3298 XtSetArg(ar[n],XmNtitle,
"Selection"); n++;
3302 XtSetArg(ar[n],XmNborderWidth, 1); n++;
3303 XtSetArg(ar[n],XmNlistLabelString, xmList); n++;
3304 XtSetArg(ar[n],XmNlistVisibleItemCount,items); n++;
3307 XtSetArg(ar[n],XmNokLabelString, xmOk); n++;
3311 XtSetArg(ar[n],XmNapplyLabelString, xmApply); n++;
3315 XtSetArg(ar[n],XmNcancelLabelString, xmCancel); n++;
3319 XtSetArg(ar[n],XmNselectionLabelString, xmSelection); n++;
3321 sd = XmCreateSelectionDialog (
toplevel_widget,
"Selection", ar, (Cardinal)n );
3322 XmStringFree(xmList);
3324 XmStringFree(xmApply);
3325 XmStringFree(xmCancel);
3326 XmStringFree(xmSelection);
3329 XtAddCallback ( sd, XmNcancelCallback,
3331 XtAddCallback ( sd, XmNapplyCallback,
3332 (XtCallbackProc)
ok_pop_up, (XtPointer)tag );
3333 XtAddCallback ( sd, XmNokCallback,
3334 (XtCallbackProc)ok_pop_up, (XtPointer)tag );
static XmFontList did_default_font
static XmFontList did_small_font