ui/motif/container.c

changeset 111
40dbf1a7526a
parent 106
a4f4123ca12a
child 113
500c085d2133
equal deleted inserted replaced
110:36f1581b43e2 111:40dbf1a7526a
733 void ui_layout_vexpand(UiObject *obj, UiBool expand) { 733 void ui_layout_vexpand(UiObject *obj, UiBool expand) {
734 UiContainer *ct = uic_get_current_container(obj); 734 UiContainer *ct = uic_get_current_container(obj);
735 ct->layout.vexpand = expand; 735 ct->layout.vexpand = expand;
736 } 736 }
737 737
738 void ui_layout_gridwidth(UiObject *obj, int width) {
739 UiContainer *ct = uic_get_current_container(obj);
740 ct->layout.gridwidth = width;
741 }
742
738 void ui_newline(UiObject *obj) { 743 void ui_newline(UiObject *obj) {
739 UiContainer *ct = uic_get_current_container(obj); 744 UiContainer *ct = uic_get_current_container(obj);
740 ct->layout.newline = TRUE; 745 ct->layout.newline = TRUE;
741 } 746 }

mercurial