ToplevelSize

The GdkToplevelSize struct contains information that is useful to compute the size of a toplevel.

Constructors

this
this(GdkToplevelSize* gdkToplevelSize, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getBounds
void getBounds(int boundsWidth, int boundsHeight)

Retrieves the bounds the toplevel is placed within.

getStruct
void* getStruct()

the main Gtk struct as a void*

getToplevelSizeStruct
GdkToplevelSize* getToplevelSizeStruct(bool transferOwnership)

Get the main Gtk struct

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.

Variables

gdkToplevelSize
GdkToplevelSize* gdkToplevelSize;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta