Gtk.Border

Fields

Name

Type

Access

Description

bottom

int

r/w

The width of the bottom border

left

int

r/w

The width of the left border

right

int

r/w

The width of the right border

top

int

r/w

The width of the top border

Methods

class

new ()

copy ()

free ()

Details

class Gtk.Border

A struct that specifies a border around a rectangular area.

Each side can have different width.

classmethod new()[source]
Returns:

a newly allocated GtkBorder struct. Free with [method`Gtk`.Border.free]

Return type:

Gtk.Border

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

copy()[source]
Returns:

a copy of self.

Return type:

Gtk.Border

Copies a GtkBorder.

free()[source]

Frees a GtkBorder.