Skip to content

Gtk.BinLayout

class — extends LayoutManager

A layout manager for widgets with a single child.

GtkBinLayout will stack each child of a widget on top of each other, using the Widget.hexpand, Widget.vexpand, Widget.halign, and Widget.valign properties of each child to determine where they should be positioned.

Constructors

new

@classmethod
def new(cls) -> LayoutManager

Creates a new GtkBinLayout instance.