Interface CustomLayout.OnCustomAllocateFunc

Enclosing class:
CustomLayout
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CustomLayout.OnCustomAllocateFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCustomAllocateFunc(CallbackHandler __self, Widget widget, int width, int height, int baseline)
    A function to be used by `GtkCustomLayout` to allocate a widget.
  • Method Details

    • onCustomAllocateFunc

      void onCustomAllocateFunc(CallbackHandler __self, @Nonnull Widget widget, int width, int height, int baseline)
      A function to be used by `GtkCustomLayout` to allocate a widget.
      Parameters:
      widget - the widget to allocate
      width - the new width of the widget
      height - the new height of the widget
      baseline - the new baseline of the widget, or -1