Method

GtkWindowget_default_size

Declaration [src]

void
gtk_window_get_default_size (
  GtkWindow* window,
  gint* width,
  gint* height
)

Description [src]

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.

Parameters

width

Type: gint*

Location to store the default width, or NULL.

The argument will be set by the function.
The argument can be NULL.
height

Type: gint*

Location to store the default height, or NULL.

The argument will be set by the function.
The argument can be NULL.