ui/gtk/container.c

changeset 1241
a23d6609e70e
parent 1236
34cc825ee117
equal deleted inserted replaced
1240:3e2516e7a957 1241:a23d6609e70e
1290 ui_box_container_add(ct->container, item_obj->widget, &layout); 1290 ui_box_container_add(ct->container, item_obj->widget, &layout);
1291 } else { 1291 } else {
1292 // create new widget and object for this list element 1292 // create new widget and object for this list element
1293 UiObject *obj = uic_object_new_toplevel(); 1293 UiObject *obj = uic_object_new_toplevel();
1294 obj->ctx->parent = ct->parent->ctx; 1294 obj->ctx->parent = ct->parent->ctx;
1295 obj->window = NULL; 1295 obj->window = ct->parent->window;
1296 obj->widget = ui_subcontainer_create( 1296 obj->widget = ui_subcontainer_create(
1297 ct->subcontainer, 1297 ct->subcontainer,
1298 obj, 1298 obj,
1299 ct->spacing, 1299 ct->spacing,
1300 ct->columnspacing, 1300 ct->columnspacing,

mercurial