Gtk.Window.Resize Method
Resizes the window as if the user had done so, obeying geometry constraints.

Syntax

public void Resize (int width, int height)

Parameters

width
Width in pixels to resize the window to.
height
Height in pixels to resize the window to.

Remarks

The default geometry constraint is that windows may not be smaller than their size request; to override this constraint, call Widget.SetSizeRequest to set the window's request to a smaller value.

If Window.Resize is called before showing a window for the first time, it overrides any default size set with Window.SetDefaultSize. Windows may not be resized smaller than 1 by 1 pixels.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)