GtkWindow::get_default_size

array get_default_size();

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 (with set_default_size() ) for that dimension, so the "natural" size of the window will be used.

The first value of the returned array is the width, the second is the height.

See also: set_default_size()