Sets the size of the window relative to the Vizard Window.
| <window>.setSize( | |
| [width,height] | |
| mode = viz.WINDOW_NORMALIZED | # keyword argument |
)
[width,height]
The width/height of the subwindow
mode = viz.WINDOW_NORMALIZED
viz.WINDOW_NORMALIZED
viz.WINDOW_PIXELS
This command will set the size of the window. If mode is viz.WINDOW_NORMALIZED, the size is relative to the graphics window. The window will maintain the relative size if the graphics window is resized. If mode is viz.WINDOW_PIXELS, the size is in pixel units. The window will maintain the pixel size if the graphics window is resized.
None
This sets the size to half the window's height and width and moves it the top left corner of the window.