ui/gtk/container.c

changeset 111
40dbf1a7526a
parent 110
36f1581b43e2
child 116
480354705c2f
equal deleted inserted replaced
110:36f1581b43e2 111:40dbf1a7526a
465 ct->layout.fill = ui_bool2lb(fill); 465 ct->layout.fill = ui_bool2lb(fill);
466 } 466 }
467 467
468 void ui_layout_hexpand(UiObject *obj, UiBool expand) { 468 void ui_layout_hexpand(UiObject *obj, UiBool expand) {
469 UiContainer *ct = uic_get_current_container(obj); 469 UiContainer *ct = uic_get_current_container(obj);
470 ct->layout.hexpand = ui_bool2lb(expand); 470 ct->layout.hexpand = expand;
471 } 471 }
472 472
473 void ui_layout_vexpand(UiObject *obj, UiBool expand) { 473 void ui_layout_vexpand(UiObject *obj, UiBool expand) {
474 UiContainer *ct = uic_get_current_container(obj); 474 UiContainer *ct = uic_get_current_container(obj);
475 ct->layout.vexpand = ui_bool2lb(expand); 475 ct->layout.vexpand = expand;
476 } 476 }
477 477
478 void ui_layout_gridwidth(UiObject *obj, int width) { 478 void ui_layout_gridwidth(UiObject *obj, int width) {
479 UiContainer *ct = uic_get_current_container(obj); 479 UiContainer *ct = uic_get_current_container(obj);
480 ct->layout.gridwidth = width; 480 ct->layout.gridwidth = width;

mercurial