get_default_size


Description:

public void get_default_size (out int width, out int height)

Gets the default size of the window.

A value of 0 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.

This function is the recommended way for [saving window state across restarts of applications]( https://developer.gnome.org/documentation/tutorials/save-state.html).

Parameters:

this

a `GtkWindow`

width

location to store the default width

height

location to store the default height