Rectangle

A data structure for holding a rectangle. Those coordinates are relative to the component top-level parent.

Constructors

this
this(AtkRectangle* atkRectangle, bool ownedRef)

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

Destructor

~this
~this()
Undocumented in source.

Members

Functions

getRectangleStruct
AtkRectangle* getRectangleStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Properties

height
int height [@property getter]
int height [@property setter]

height of the rectangle.

width
int width [@property getter]
int width [@property setter]

width of the rectangle.

x
int x [@property getter]
int x [@property setter]

X coordinate of the left side of the rectangle.

y
int y [@property getter]
int y [@property setter]

Y coordinate of the top side of the rectangle.

Static functions

getType
GType getType()

Variables

atkRectangle
AtkRectangle* atkRectangle;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta