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
CustomLayout self()Returns `this`, for use in `with` statements.CustomLayoutGidBuilder builder()Get builder for [gtk.custom_layout.CustomLayout] Returns: New builder objectConstructors
this(gtk.types.CustomRequestModeFunc requestMode, gtk.types.CustomMeasureFunc measure, gtk.types.CustomAllocateFunc allocate)Creates a new legacy layout manager.Fluent builder for [gtk.custom_layout.CustomLayout]
Methods