Gtk.Window.SetGeometryHints Method
This method sets up hints about how a window can be resized by the user.

Syntax

public void SetGeometryHints (Widget geometry_widget, Gdk.Geometry geometry, Gdk.WindowHints geom_mask)

Parameters

geometry_widget
Widget the geometry hints will be applied to.
geometry
Struct containing geometry information.
geom_mask
Mask indicating which struct fields should be paid attention to.

Remarks

You can set a minimum and maximum size; allowed resize increments (e.g. for xterm, you can only resize by the size of a character); aspect ratios; and more. See Gdk.Geometry.

Requirements

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