ADD | Add widget to table. |
SETALIGNMENT | Set alignment of widgets in table. |
SETEQUALSIZEISEQUAL | Set equals cells size for widget placement. |
SETPADDING | Set table border width. |
SETSPACING | Set space between widget in table. |
UIGRID | Constructor. Create table for placement widgets. |
add(<o>,<pos>,[<h_expand>],[<v_expand>])
<o> | - Widget object. Widget inserted in table. |
<pos> | - String. Address of cell or cell range for inserted widget. Number of row (row range) is separated from number of column (column range) by comma. Range is defined through hyphen. Numbering of rows and columns is begun from 1 (top and left side res pectively). For example, widget place in first row and columns 2..4 is defined as string: "1,2-4". |
<h_expand> | - Boolean. Possibility of expand widget horizontally on window size changed. |
<v_expand> | - Boolean. Possibility of expand widget vertically on window size changed. |
Returns : | NIL |
setAlignment(<align>,<valign>)
<align> | - Number. Horizontal alignment of widgets. Possible values: |
<listitem> | <para><constant>ALIGN_LEFT</constant> — aligns with the left edge (default)</para></listitem> |
<listitem> | <para><constant>ALIGN_CENTER</constant> — centers horizontally</para></listitem> |
<listitem> | <para><constant>ALIGN_RIGHT</constant> — aligns with the right edge</para></listitem> |
<valign> | - Number. Vertical alignment of widgets. Possible values: |
<listitem> | <para><constant>ALIGN_TOP</constant> — aligns with the top (default)</para></listitem> |
<listitem> | <para><constant>ALIGN_MIDDLE</constant> — centers vertically</para></listitem> |
<listitem> | <para><constant>ALIGN_BOTTOM</constant> — aligns with the bottom</para></listitem> |
Returns : | NIL |
UIGrid([<o>],<grow>,<gcol>,[<spacing>],[<padding>]) --> UIGrid object
<o> | - Widget objecÅt. Widget in which table is inserted. |
<grow> | - Number. Number of rows in table. |
<gcol> | - Number. Number of columns in table. |
<spacing> | - Number. Space between table cells in pixels (default is 0). |
<padding> | - Number. Space between widget and cell border in pixels (default is 2). |
Returns : | NIL |