Interface CustomLayout.OnCustomMeasureFunc

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.OnCustomMeasureFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCustomMeasureFunc(CallbackHandler __self, Widget widget, int orientation, int for_size, Int minimum, Int natural, Int minimum_baseline, Int natural_baseline)
    A function to be used by `GtkCustomLayout` to measure a widget.
  • Method Details

    • onCustomMeasureFunc

      void onCustomMeasureFunc(CallbackHandler __self, @Nonnull Widget widget, int orientation, int for_size, @Nonnull Int minimum, @Nonnull Int natural, @Nonnull Int minimum_baseline, @Nonnull Int natural_baseline)
      A function to be used by `GtkCustomLayout` to measure a widget.
      Parameters:
      widget - the widget to be measured
      orientation - the direction to be measured
      for_size - the size to be measured for
      minimum - the measured minimum size of the widget
      natural - the measured natural size of the widget
      minimum_baseline - the measured minimum baseline of the widget
      natural_baseline - the measured natural baseline of the widget