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; |