Package: gdk

Function gdk-window-resize

Lambda List

gdk-window-resize (window width height)

Arguments

window -- a gdk-window object
width -- a :int with the new width of the window
height -- a :int with the new height of the window

Details

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

Windows may not be resized below 1x1.

If you are also planning to move the window, use the function gdk-window-move-resize to both move and resize simultaneously, for a nicer visual effect.
 

See also

2020-9-22