set_min_size


Description:

public void set_min_size (int min_width, int min_height)

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 `GdkToplevel` should calculate these given both the existing size, and the bounds retrieved from the `GdkToplevelSize` object.

The minimum size should be within the bounds (see [method@Gdk.ToplevelSize.get_bounds]).

Parameters:

this

a `GdkToplevelSize`

min_width

the minimum width

min_height

the minimum height