Regular API function

simGetMainWindow

Description Retrieves the handle or pointer of the main window.
C synopsis simVoid* simGetMainWindow(simInt type)
C parameters
type: type of the desired return value. 0 for a native window handle, 1 for a pointer to a QWidget object.
C return value
a native window handle or a pointer to a QWidget object.
Lua synopsis
Lua parameters
Lua return values