Package: gtk

Function gtk-window-resize

Lambda List

gtk-window-resize (window width height)

Arguments

window -- a gtk-window widget
width -- an integer with the width in pixels to resize the window to
height -- an integer with the height in pixels to resize the window to

Details

Resizes the window as if the user had done so, obeying geometry constraints. The default geometry constraint is that windows may not be smaller than their size request. To override this constraint, call the gtk-widget-size-request function to set the request of the window to a smaller value.

If the gtk-window-resize function is called before showing a window for the first time, it overrides any default size set with the gtk-window-default-size function.

Windows may not be resized smaller than 1 by 1 pixels.
 

See also

2021-9-12