ToplevelSize.setMinSize

void setMinSize(int minWidth, int minHeight)

Sets the minimum size of the toplevel.

The minimum size corresponds to the limitations the toplevel can be shrunk to, without resulting in incorrect painting. A user of a [gdk.toplevel.Toplevel] should calculate these given both the existing size, and the bounds retrieved from the [gdk.toplevel_size.ToplevelSize] object.

The minimum size should be within the bounds (see [gdk.toplevel_size.ToplevelSize.getBounds]).

Parameters

minWidththe minimum width
minHeightthe minimum height