ToplevelSize.setMinSize

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).

class ToplevelSize
void
setMinSize

Parameters

minWidth int

the minimum width

minHeight int

the minimum height