CustomAllocateFunc

typealias CustomAllocateFunc = (widget: Widget, width: Int, height: Int, baseline: Int) -> Unit

A function to be used by GtkCustomLayout to allocate a widget.

  • param widget the widget to allocate

  • param width the new width of the widget

  • param height the new height of the widget

  • param baseline the new baseline of the widget, or -1