set_geometry_hints


Description:

public void set_geometry_hints (Widget? geometry_widget, Geometry? geometry, WindowHints geom_mask)

This function sets up hints about how a window can be resized by the user.

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 the Geometry struct.

Parameters:

this

a Window

geometry_widget

widget the geometry hints used to be applied to or null. Since 3.20 this argument is ignored and GTK behaves as if null was set.

geometry

struct containing geometry information or null

geom_mask

mask indicating which struct fields should be paid attention to