ui/motif/container.c

branch
newapi
changeset 424
51e856688fba
parent 408
b06e43f1edd4
child 426
3eb26df703bf
equal deleted inserted replaced
423:02bafb660eb2 424:51e856688fba
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
133 UiContainerPrivate *ctn = ui_obj_container(obj); 131 UiContainerPrivate *ctn = ui_obj_container(obj);
134 UI_APPLY_LAYOUT(ctn->layout, args); 132 UI_APPLY_LAYOUT(ctn->layout, args);
135 133
136 Widget parent = ctn->prepare(ctn, xargs, &n); 134 Widget parent = ctn->prepare(ctn, xargs, &n);
137 Widget grid = XtCreateManagedWidget(args.name ? args.name : "gridcontainer", gridClass, parent, xargs, n); 135 Widget grid = XtCreateManagedWidget(args.name ? args.name : "gridcontainer", gridClass, parent, xargs, n);

mercurial