Method
GtkWindowset_geometry_hints
Declaration [src]
void
gtk_window_set_geometry_hints (
GtkWindow* window,
GtkWidget* geometry_widget,
GdkGeometry* geometry,
GdkWindowHints geom_mask
)
Description [src]
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 GdkGeometry struct.
Parameters
geometry_widget-
Type:
GtkWidgetWidget the geometry hints used to be applied to or
NULL. Since 3.20 this argument is ignored and GTK behaves as ifNULLwas set.The argument can be NULL.The data is owned by the caller of the method. geometry-
Type:
GdkGeometryStruct containing geometry information or
NULL.The argument can be NULL.The data is owned by the caller of the method. geom_mask-
Type:
GdkWindowHintsMask indicating which struct fields should be paid attention to.