It derives from <GtkLayoutManager>.
Uses closures for size negotiation.
A <GtkCustomLayout> uses closures matching to
the old <GtkWidget> virtual functions for size
negotiation, as a convenience API to ease the porting towards the
corresponding <GtkLayoutManager> virtual
functions.
Creates a new legacy layout manager.
Legacy layout managers map to the old <GtkWidget>
size negotiation virtual functions, and are meant to be used during the
transition from layout containers to layout manager delegates.
Passed: a procedure, or #f.
a function to retrieve the
<GtkSizeRequestMode> of the widget using
the layout; the default request mode is
constant-size
See GtkCustomRequestModeFunc for how
it is called.
Passed: a procedure.
a function to measure the widget using the layout manager
See GtkCustomMeasureFunc for how it is
called.
Passed: a procedure.
a function to allocate the children of the widget using the layout manager
See GtkCustomAllocateFunc for how it is
called.
Returned: a <GtkLayoutManager>.
the newly created <GtkCustomLayout>