CustomLayout.this
this
(gtk.types.CustomRequestModeFunc requestMode, gtk.types.CustomMeasureFunc measure, gtk.types.CustomAllocateFunc allocate)Creates a new legacy layout manager.
Legacy layout managers map to the old [gtk.widget.Widget] size negotiation virtual functions, and are meant to be used during the transition from layout containers to layout manager delegates.
Parameters
requestMode | a function to retrieve the [gtk.types.SizeRequestMode] of the widget using the layout; the default request mode is [gtk.types.SizeRequestMode.ConstantSize] |
measure | a function to measure the widget using the layout manager |
allocate | a function to allocate the children of the widget using the layout manager |
Returns
the newly created [gtk.custom_layout.CustomLayout]