ToplevelSize

The gdk.toplevel_size.ToplevelSize struct contains information that is useful to compute the size of a toplevel.

Members

Functions

getBounds
void getBounds(int boundsWidth, int boundsHeight)

Retrieves the bounds the toplevel is placed within.

setMinSize
void setMinSize(int minWidth, int minHeight)

Sets the minimum size of the toplevel.

setShadowWidth
void setShadowWidth(int left, int right, int top, int bottom)

Sets the shadows size of the toplevel.

setSize
void setSize(int width, int height)

Sets the size the toplevel prefers to be resized to.