make_window¶

make_window(vstate)[source]¶

Make a new window for a slide.

Creates a new window for the slide, including all the UI elements and the main viewing window.

Parameters:

vstate (ViewerState) – the ViewerState object for the window

Returns:

A dict containing the UI elements and other elements associated with the window that we may need to reference, for ease of access.

Return type:

dict