set_size


Description:

public void set_size (int width, int height)

Sets the size the toplevel prefers to be resized to.

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

Parameters:

this

a `GdkToplevelSize`

width

the width

height

the height