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 that can be of different width on each side.

classmethod new()[source]
Returns:a newly allocated Gtk.Border-struct. Free with Gtk.Border.free()
Return type:Gtk.Border

Allocates a new Gtk.Border-struct and initializes its elements to zero.

New in version 2.14.

copy()[source]
Returns:a copy of self.
Return type:Gtk.Border

Copies a Gtk.Border-struct.

free()[source]

Frees a Gtk.Border-struct.