Schnittstelle CellAreaClass.OnGetPreferredWidthForHeight

Umschließende Klasse:
CellAreaClass
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface CellAreaClass.OnGetPreferredWidthForHeight
  • Methodendetails

    • onGetPreferredWidthForHeight

      void onGetPreferredWidthForHeight(CallbackHandler __self, @Nonnull CellArea area, @Nonnull CellAreaContext context, @Nonnull Widget widget, int height, @Nullable Int minimum_width, @Nullable Int natural_width)
      Parameter:
      area - a `GtkCellArea`
      context - the `GtkCellArea`Context which has already been requested for widths.
      widget - the `GtkWidget` where @area will be rendering
      height - the height for which to check the width of this area
      minimum_width - location to store the minimum width
      natural_width - location to store the natural width