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 _gType() @property
CustomLayout self()Returns `this`, for use in `with` statements.
CustomLayoutGidBuilder builder()Get 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()Create object from builder. Returns: New object