Package: gdk

Function gdk-window-constrain-size

Lambda List

gdk-window-constrain-size (geometry flags width height)

Arguments

geometry -- a gdk-geometry structure
flags -- a mask of type gdk-window-hints indicating what portions of geometry are set
width -- a :int with the desired width of the window
height -- a :int with the desired height of the window

Return Value

new-width -- :int with the resulting width
new-height -- :int with the resulting height

Details

Constrains a desired width and height according to a set of geometry hints such as minimum and maximum size.
 

See also

2020-9-22