OverlayLayout

gtk.overlay_layout.OverlayLayout is the layout manager used by gtk.overlay.Overlay.

It places widgets as overlays on top of the main child.

This is not a reusable layout manager, since it expects its widget to be a gtk.overlay.Overlay. It is only listed here so that its layout properties get documented.

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this()

Creates a new gtk.overlay_layout.OverlayLayout instance.

Members

Functions

self
OverlayLayout self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From LayoutManager

getGType
GType getGType()
gType
GType gType [@property getter]
self
LayoutManager self()

Returns this, for use in with statements.

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.