49 ct->add(ct, widget); |
49 ct->add(ct, widget); |
50 XtManageChild(widget); |
50 XtManageChild(widget); |
51 |
51 |
52 return widget; |
52 return widget; |
53 } |
53 } |
|
54 |
|
55 UIWIDGET ui_space(UiObject *obj) { |
|
56 UiContainer *ct = uic_get_current_container(obj); |
|
57 XmString str = XmStringCreateLocalized(""); |
|
58 |
|
59 int n = 0; |
|
60 Arg args[16]; |
|
61 XtSetArg(args[n], XmNlabelString, str); |
|
62 n++; |
|
63 |
|
64 Widget parent = ct->prepare(ct, args, &n, TRUE); |
|
65 Widget widget = XmCreateLabel(parent, "space_label", args, n); |
|
66 ct->add(ct, widget); |
|
67 XtManageChild(widget); |
|
68 |
|
69 return widget; |
|
70 } |