![]() |
Anatomist commands reference: CreateWindow |
![]() ![]() |
Attribute: | Type: | Description: | ||||||
type | string | "Axial", "Sagittal", "Coronal", "3D", "Browser", "Profile" | ||||||
res_pointer | int | ID of the new window | ||||||
geometry | int_vector (optional) | position and size of the window: x, y, w, h | ||||||
block | int (optional) | New in Anatomist 3.0. Allows to insert the new window in
a "block" which may contain several views. By default (block=0),
the window will not be in any block. If block doesn't exist
anymore, a new block will be created, otherwise the window will be
added to an existing block. Note: The block number is an ID just like those of objects, windows etc.: a number already allocated must not be reused. |
||||||
block_columns | int (optional) |
New in Anatomist 3.1.
If block specifies a new block to be created, then it will have this number of columns. Default: 2, but see below. New in Anatomist 4.2: 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) |
New in Anatomist 4.2.
If block specifies a new block to be created, then it will have this 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. |
||||||
options | dictionary (optional) | New in Anatomist 3.0. Additional options passed to the new window
upon creation. Some windows types may interpret some specific options. For instance: options { '__syntax__' : 'tree', 'no_decoration': 1 } At the moment, known options are:
|