| 84 char *name = args->name ? (char*)args->name : "button"; |
84 char *name = args->name ? (char*)args->name : "button"; |
| 85 Widget spinbox = XmCreateSimpleSpinBox(parent, name, xargs, n); |
85 Widget spinbox = XmCreateSimpleSpinBox(parent, name, xargs, n); |
| 86 XtManageChild(spinbox); |
86 XtManageChild(spinbox); |
| 87 ui_container_add(ctn, spinbox); |
87 ui_container_add(ctn, spinbox); |
| 88 |
88 |
| 89 ui_set_widget_groups(obj->ctx, spinbox, args->groups); |
89 ui_set_widget_groups(obj->ctx, spinbox, args->states); |
| 90 |
90 |
| 91 WidgetList children; |
91 WidgetList children; |
| 92 Cardinal num_children; |
92 Cardinal num_children; |
| 93 unsigned char type; |
93 unsigned char type; |
| 94 |
94 |