Function
GdkWindowconstrain_size
Declaration [src]
void
gdk_window_constrain_size (
GdkGeometry* geometry,
GdkWindowHints flags,
gint width,
gint height,
gint* new_width,
gint* new_height
)
Description [src]
Constrains a desired width and height according to a set of geometry hints (such as minimum and maximum size).
Parameters
geometry-
Type:
GdkGeometryA
GdkGeometrystructure.The data is owned by the caller of the function. flags-
Type:
GdkWindowHintsA mask indicating what portions of
geometryare set. width-
Type:
gintDesired width of window.
height-
Type:
gintDesired height of the window.
new_width-
Type:
gint*Location to store resulting width.
The argument will be set by the function. new_height-
Type:
gint*Location to store resulting height.
The argument will be set by the function.