Skip to content

Gtk.Border

record (struct)

Specifies a border around a rectangular area.

Each side can have a different width.

Constructors

new

@classmethod
def new(cls) -> Border

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

Methods

copy

def copy(self) -> Border

Copies a GtkBorder.

free

def free(self) -> None

Frees a GtkBorder.

Properties

left

left: int  # read/write

right

right: int  # read/write

top

top: int  # read/write

bottom

bottom: int  # read/write