ui/motif/container.c

branch
newapi
changeset 408
b06e43f1edd4
parent 407
8ea123dd89db
equal deleted inserted replaced
407:8ea123dd89db 408:b06e43f1edd4
126 // public 126 // public
127 UIWIDGET ui_grid_create(UiObject *obj, UiContainerArgs args) { 127 UIWIDGET ui_grid_create(UiObject *obj, UiContainerArgs args) {
128 Arg xargs[16]; 128 Arg xargs[16];
129 int n = 0; 129 int n = 0;
130 130
131 XtSetArg(xargs[n], XmNbackground, 0); n++;
132
131 UiContainerPrivate *ctn = ui_obj_container(obj); 133 UiContainerPrivate *ctn = ui_obj_container(obj);
132 UI_APPLY_LAYOUT(ctn->layout, args); 134 UI_APPLY_LAYOUT(ctn->layout, args);
133 135
134 Widget parent = ctn->prepare(ctn, xargs, &n); 136 Widget parent = ctn->prepare(ctn, xargs, &n);
135 Widget grid = XtCreateManagedWidget(args.name ? args.name : "gridcontainer", gridClass, parent, xargs, n); 137 Widget grid = XtCreateManagedWidget(args.name ? args.name : "gridcontainer", gridClass, parent, xargs, n);

mercurial