Interface CellRendererClass.OnGetPreferredWidthForHeight

Enclosing class:
CellRendererClass
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 CellRendererClass.OnGetPreferredWidthForHeight
  • Method Details

    • onGetPreferredWidthForHeight

      void onGetPreferredWidthForHeight(CallbackHandler __self, @Nonnull CellRenderer cell, @Nonnull Widget widget, int height, @Nullable Int minimum_width, @Nullable Int natural_width)
      Parameters:
      cell - a `GtkCellRenderer` instance
      widget - the `GtkWidget` this cell will be rendering to
      height - the size which is available for allocation
      minimum_width - location for storing the minimum size
      natural_width - location for storing the preferred size