Window.getDefaultSize

Gets the default size of the window. A value of -1 for the width or height indicates that a default size has not been explicitly set for that dimension, so the "natural" size of the window will be used.

class Window
void
getDefaultSize
(
out int width
,
out int height
)

Parameters

width int

location to store the default width, or NULL. out[allow-none]

height int

location to store the default height, or NULL. out[allow-none]

Meta