Window Controls
Control window parameters. For controlling the input table see the InputTable page.
-
squap.is_alive()[source]
Whether the window is visible.
- Return type:
bool
-
squap.resize(width, height)[source]
Resize the window.
- Parameters:
width (int) – Number of pixels wide it is changed to. Starts off at 640, or 965 if inputs are present
(plot widget is 640, input widget 320 and border between them is 5 pixels.).
height (int) – New height in pixels. Starts off at 480.
-
squap.size()[source]
Returns the size of the window as a tuple (width, height). Can be unreliable when called before
the window is shown.
- Return type:
tuple