window_config table reference - Stingray Lua API Reference

window_config table reference

Description

Provides settings for opening a new window in a call to stingray.Window.open().

Data Members

Set the window to frameless to ensure that the dimensions passed in remain unchanged.

height : number

The height of the window, in pixels.

In this case, the new window is created as a child window to that window, and all other parameters are ignored.

title : string

The title of the new window.

width : number

The width of the window, in pixels.

x : number

The screen coordinate of the left side of the window, in pixels.

y : number

The screen coordinate of the top of the window, in pixels.