Method

GtkWindowset_default_geometry

deprecated: 3.20 since: 3.0

Declaration [src]

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

Description [src]

Like gtk_window_set_default_size(), but width and height are interpreted in terms of the base size and increment set with gtk_window_set_geometry_hints.

Available since: 3.0

Deprecated since: 3.20

This function does nothing. If you want to set a default size, use gtk_window_set_default_size() instead.

Parameters

width

Type: gint

Width in resize increments, or -1 to unset the default width.

height

Type: gint

Height in resize increments, or -1 to unset the default height.