RGtk2 (version 2.20.31)

gdkWindowConstrainSize: gdkWindowConstrainSize

Description

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

Usage

gdkWindowConstrainSize(geometry, width, height)

Arguments

geometry
a GdkGeometry structure
width
desired width of window
height
desired height of the window

Value

A list containing the following elements:
new.width
location to store resulting width
new.height
location to store resulting height