BinLayout

gtk.bin_layout.BinLayout is a gtk.layout_manager.LayoutManager subclass useful for create "bins" of widgets.

gtk.bin_layout.BinLayout will stack each child of a widget on top of each other, using the gtk.widget.Widget.gboolean, gtk.widget.Widget.gboolean, gtk.widget.Widget.Align, and gtk.widget.Widget.Align properties of each child to determine where they should be positioned.

class BinLayout : LayoutManager {}

Constructors

this
this()

Creates a new gtk.bin_layout.BinLayout instance.

Inherited Members

From LayoutManager

allocate
void allocate(gtk.widget.Widget widget, int width, int height, int baseline)

Assigns the given width, height, and baseline to a widget, and computes the position and sizes of the children of the widget using the layout management policy of manager.

getLayoutChild
gtk.layout_child.LayoutChild getLayoutChild(gtk.widget.Widget child)

Retrieves a gtk.layout_child.LayoutChild instance for the gtk.layout_manager.LayoutManager, creating one if necessary.

getRequestMode
gtk.types.SizeRequestMode getRequestMode()

Retrieves the request mode of manager.

getWidget
gtk.widget.Widget getWidget()

Retrieves the gtk.widget.Widget using the given gtk.layout_manager.LayoutManager.

layoutChanged
void layoutChanged()

Queues a resize on the gtk.widget.Widget using manager, if any.

measure
void measure(gtk.widget.Widget widget, gtk.types.Orientation orientation, int forSize, int minimum, int natural, int minimumBaseline, int naturalBaseline)

Measures the size of the widget using manager, for the given orientation and size.