ADD | Add widget to grid. |
SETALIGNMENT | Set alignment of widgets in grid. |
SETEQUALSIZEISEQUAL | Set equals cells size for widget placement. |
SETPADDING | Set grid border width. |
SETSPACING | Set space between widgets in grid. |
UIGRID | Constructor. Create grid for placement widgets. |
add(<o>,<pos>,[<h_expand>],[<v_expand>])
<o> | - Widget object. Widget inserted in grid. |
<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 widget. Possible values:
|
<valign> | - Number. Vertical alignment of widget. Possible values:
|
Returns : | NIL |
UIGrid([<o>],<grow>,<gcol>,[<spacing>],[<padding>]) --> UIGrid object
<o> | - Widget objecÅt. Widget in which grid is inserted. |
<grow> | - Number. Number of rows in grid. |
<gcol> | - Number. Number of columns in grid. |
<spacing> | - Number. Space between grid cells in pixels (default is 0). |
<padding> | - Number. Space between widget and cell border in pixels (default is 2). |
Returns : | NIL |