ToplevelSize.setSize

Sets the size the toplevel prefers to be resized to.

The size should be within the bounds (see gdk.toplevel_size.ToplevelSize.getBounds). The set size should be considered as a hint, and should not be assumed to be respected by the windowing system, or backend.

class ToplevelSize
void
setSize
(
int width
,
int height
)

Parameters

width int

the width

height int

the height