Window.setDefaultGeometry

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.

class Window
void
setDefaultGeometry
(
int width
,
int height
)

Parameters

width int

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

height int

height in resize increments, or -1 to unset the default height Since 3.0

Meta