Schnittstelle CustomLayout.OnCustomAllocateFunc

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

@FunctionalInterface public static interface CustomLayout.OnCustomAllocateFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onCustomAllocateFunc(CallbackHandler __self, Widget widget, int width, int height, int baseline)
    A function to be used by `GtkCustomLayout` to allocate a widget.
  • Methodendetails

    • 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.
      Parameter:
      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