v_sim.UiMainClass

Fields

None

Methods

class

createMain (panel, renderWindow, renderArea)

class

getCurrentPanel ()

class

getDefaultRendering ()

class

getRememberPosition ()

class

setRememberPosition (val)

Details

class v_sim.UiMainClass

A short way to identify #_VisuUiMainClass structure.

classmethod createMain(panel, renderWindow, renderArea)
Parameters:

A convenience routine to create a command panel, a rendering window and links them together.

classmethod getCurrentPanel()
Returns:

the command Panel.

Return type:

v_sim.UiMain

This routine can be used to get the command panel, everywhere from V_Sim.

classmethod getDefaultRendering()
Returns:

the rendering window.

Return type:

v_sim.UiRenderingWindow

Get the rendering window of V_Sim.

classmethod getRememberPosition()
Returns:

True if set.

Return type:

bool

V_Sim can store the position of its main windows. Use this routine to get the status of this capability.

classmethod setRememberPosition(val)
Parameters:

val (bool) – an boolean.

V_Sim can try to remember the position of its main windows, then open them again will result in a positioning on screen equivalent to previous position.