![]() |
Anatomist commands reference: WindowBlock |
![]() ![]() |
Attribute: | Type: | Description: |
block | int | ID of the (existing or future) window block. If block doesn't exist, a new block will be created, otherwise the existing one will be modified. Note: The block number is an ID just like those of objects, windows etc.: a number already allocated must not be reused. |
geometry | int_vector (optional) | position and size of the window: x, y, w, h |
block_columns | int (optional) | Set the number of columns. The default is 2, but if specified, it will force an existing block to resize at 2 columns, whereas if unspecified, the block will be left unchanged. |
block_rows | int (optional) |
Set the number of rows. As for block_columns, the default is 2, but if specified, it will force an existing block to resize at 2 rows, whereas if unspecified, the block will be left unchanged. This option is incompatible with block_columns. If both are used, block_columns will override block_rows. |
make_rectangle | int (optional) | if non-null, the block will be reorganized to fit a rectangular grid with the specified width / height ratio with all its current anatomist windows. |
rectangle_ratio | float (optional) | if make_rectangle is set, this parameter specifies the width / height ratio of the rectangle. Default: 1. |