Border

A struct that specifies a border around a rectangular area that can be of different width on each side.

Constructors

this
this(GtkBorder* gtkBorder, bool ownedRef)

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

this
this()

Allocates a new #GtkBorder-struct and initializes its elements to zero.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

copy
Border copy()

Copies a #GtkBorder-struct.

free
void free()

Frees a #GtkBorder-struct.

getBorderStruct
GtkBorder* getBorderStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Properties

bottom
short bottom [@property getter]
short bottom [@property setter]

The width of the bottom border

left
short left [@property getter]
short left [@property setter]

The width of the left border

right
short right [@property getter]
short right [@property setter]

The width of the right border

top
short top [@property getter]
short top [@property setter]

The width of the top border

Static functions

getType
GType getType()

Variables

gtkBorder
GtkBorder* gtkBorder;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta