Window.constrainSize
void constrainSize(gdk.types.Geometry geometry, gdk.types.WindowHints flags, int width, int height, out int newWidth, out int newHeight)Constrains a desired width and height according to a set of geometry hints (such as minimum and maximum size).
Parameters
geometry | a #GdkGeometry structure |
flags | a mask indicating what portions of geometry are set |
width | desired width of window |
height | desired height of the window |
newWidth | location to store resulting width |
newHeight | location to store resulting height |