FACT++  1.0
Widget create_file_selection_dialog ( long  type)

Definition at line 3278 of file didMarkus.c.

References cancel_pop_up(), create_str(), did_default_font, ok_pop_up(), and toplevel_widget.

3279 {
3280 Widget sd;
3281 XmString xm1;
3282 Arg ar[20];
3283 int n;
3284 
3285  xm1 = create_str ("");
3286  n = 0;
3287  /*
3288  XtSetArg(ar[n],XmNdialogStyle,XmDIALOG_FULL_APPLICATION_MODAL); n++;
3289  XtSetArg(ar[n],XmNmwmFunctions,MWM_FUNC_MOVE); n++;
3290  */
3291  XtSetArg(ar[n],XmNtitle,"FileSelection"); n++;
3292  XtSetArg(ar[n],XmNlabelFontList, did_default_font); n++;
3293  XtSetArg(ar[n],XmNbuttonFontList, did_default_font); n++;
3294  XtSetArg(ar[n],XmNtextFontList, did_default_font); n++;
3295  XtSetArg(ar[n],XmNborderWidth, 1); n++;
3296  XtSetArg(ar[n],XmNwidth, 500); n++;
3297  XtSetArg(ar[n],XmNdirMask, xm1); n++;
3298  sd = XmCreateFileSelectionDialog ( toplevel_widget, "FileSelection", ar, n );
3299 
3300  XmStringFree(xm1);
3301 
3302  XtAddCallback ( sd, XmNcancelCallback,
3303  (XtCallbackProc)cancel_pop_up, (XtPointer)type );
3304  XtAddCallback ( sd, XmNokCallback,
3305  (XtCallbackProc)ok_pop_up, (XtPointer)type );
3306 
3307  return(sd);
3308 }
void ok_pop_up()
void cancel_pop_up()
static XmFontList did_default_font
Definition: didMarkus.c:40
int type
Widget toplevel_widget
Definition: did.h:39
XmString create_str()

+ Here is the call graph for this function: