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:
GtkWidget
Widget the geometry hints used to be applied to or
NULL
. Since 3.20 this argument is ignored and GTK behaves as ifNULL
was set.The argument can be NULL
.The data is owned by the caller of the method. geometry
-
Type:
GdkGeometry
Struct containing geometry information or
NULL
.The argument can be NULL
.The data is owned by the caller of the method. geom_mask
-
Type:
GdkWindowHints
Mask indicating which struct fields should be paid attention to.