Resizes window; for toplevel windows, asks the window manager to resize the window. The window manager may not allow the resize. When using GTK+, use Window.resize instead of this low-level GDK function.

Windows may not be resized below 1x1.

If you’re also planning to move the window, use Window.moveResize to both move and resize simultaneously, for a nicer visual effect.

class Window
int width
int height


width int

new width of the window

height int

new height of the window