Anatomist commands reference: CreateWindow


CreateWindow

Ouvre une nouvelle fenêtre
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.
options dictionary (optional) New in Anatomisr 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:
no_decoration bool Don't draw "decorations" around the main area of the view: no menus, no buttons. This way the view may be inserted in a specialized application and be completely controlled by this application.

Back to commands index