gtk.custom_layout

Module for [CustomLayout] class

Types 3

gtk.custom_layout.CustomLayout uses closures for size negotiation.

A GtkCustomLayout uses closures matching to the old gtk.widget.Widget virtual functions for size negotiation, as a convenience API to ease the porting towards the corresponding `GtkLayoutManager virtual functions.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
CustomLayout self() nothrowReturns `this`, for use in `with` statements.
CustomLayoutGidBuilder builder() static nothrowGet builder for [gtk.custom_layout.CustomLayout] Returns: New builder object
Constructors
this(void * ptr, Flag!"Take" take)
this(gtk.types.CustomRequestModeFunc requestMode, gtk.types.CustomMeasureFunc measure, gtk.types.CustomAllocateFunc allocate)Creates a new legacy layout manager.
Methods
CustomLayout build() nothrowCreate object from builder. Returns: New object