ToplevelSize.setSize

void setSize(int width, int height)

Sets the size the toplevel prefers to be resized to.

The size should be within the bounds (see [gdk.toplevel_size.ToplevelSize.getBounds]). The set size should be considered as a hint, and should not be assumed to be respected by the windowing system, or backend.

Parameters

widththe width
heightthe height