FACT++  1.0
Widget create_push_button ( Widget  parent,
char *  str,
long  tag 
)

Definition at line 3444 of file didMarkus.c.

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

Referenced by create_service_dialog().

3445 {
3446 Widget b;
3447 XmString xm1;
3448 Arg ar[20];
3449 int n;
3450 
3451  n = 0;
3452  xm1 = create_str(str);
3453  XtSetArg(ar[n],XmNalignment, XmALIGNMENT_CENTER); n++;
3454  XtSetArg(ar[n],XmNfontList, did_default_font); n++;
3455  XtSetArg(ar[n],XmNlabelString, xm1); n++;
3456  b = XmCreatePushButton ( parent, "button", ar, n );
3457 
3458  XtManageChild(b);
3459  XmStringFree(xm1);
3460 
3461  XtAddCallback ( b, XmNactivateCallback,
3462  (XtCallbackProc)cancel_pop_up, (XtPointer)tag );
3463  return(b);
3464 }
char str[80]
Definition: test_client.c:7
void cancel_pop_up()
static XmFontList did_default_font
Definition: didMarkus.c:40
XmString create_str()

+ Here is the call graph for this function:

+ Here is the caller graph for this function: