setSize

fun setSize(width: <Error class: unknown class>, height: <Error class: unknown class>)(source)

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

width

the width

height

the height