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