40 XmString str = XmStringCreateLocalized(label); |
40 XmString str = XmStringCreateLocalized(label); |
41 |
41 |
42 int n = 0; |
42 int n = 0; |
43 Arg args[16]; |
43 Arg args[16]; |
44 |
44 |
45 Widget parent = ct->prepare(ct, args, &n, FALSE); |
|
46 XtSetArg(args[n], XmNlabelString, str); |
45 XtSetArg(args[n], XmNlabelString, str); |
47 n++; |
46 n++; |
|
47 |
|
48 Widget parent = ct->prepare(ct, args, &n, FALSE); |
48 Widget button = XmCreatePushButton(parent, "button", args, n); |
49 Widget button = XmCreatePushButton(parent, "button", args, n); |
49 ct->add(ct, button); |
50 ct->add(ct, button); |
50 |
51 |
51 if(f) { |
52 if(f) { |
52 UiEventData *event = ucx_mempool_malloc( |
53 UiEventData *event = ucx_mempool_malloc( |