:right-sidebar: True Border =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: Border(**kwargs) :no-contents-entry: A struct that specifies a border around a rectangular area. Each side can have different width. Constructors ------------ .. rst-class:: interim-class .. class:: Border :no-index: .. classmethod:: new() -> ~gi.repository.Gtk.Border Allocates a new ``GtkBorder`` struct and initializes its elements to zero. Methods ------- .. rst-class:: interim-class .. class:: Border :no-index: .. method:: free() -> None Frees a ``GtkBorder``\. Fields ------ .. rst-class:: interim-class .. class:: Border :no-index: .. attribute:: bottom The width of the bottom border .. attribute:: left The width of the left border .. attribute:: right The width of the right border .. attribute:: top The width of the top border