Vizard 7 » Command Index » Vizard modules » viz » <viz:window>.select
7.7

<viz:window>.select

Returns the sub-window object at the specified screen position

<viz:window>.select(  
pos = None  
mode = viz.WINDOW_NORMALIZED  
)  
pos = None
The [x,y] screen position to get the window from. If None, the current mouse position will be used. If specified, the position coordinates should be in either normalized or pixel units, depending on the mode parameter.
mode = viz.WINDOW_NORMALIZED
If the pos parameter is specified, this tells Vizard whether the position units are in normalized or pixel coordinates. Can be either viz.WINDOW_NORMALIZED or viz.WINDOW_PIXELS.

Remarks

This command can be used to select which sub-window is located at the specified screen position.

Return Value

<window> object