Schnittstelle FontChooser.OnFontFilterFunc

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

@FunctionalInterface public static interface FontChooser.OnFontFilterFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    The type of function that is used for deciding what fonts get
    shown in a `GtkFontChooser`.
  • Methodendetails

    • onFontFilterFunc

      boolean onFontFilterFunc(CallbackHandler __self, @Nonnull FontFamily family, @Nonnull FontFace face, @Nullable Pointer data)
      The type of function that is used for deciding what fonts get
      shown in a `GtkFontChooser`.

      See [method@Gtk.FontChooser.set_filter_func].
      Parameter:
      family - a `PangoFontFamily`
      face - a `PangoFontFace` belonging to @family
      data - user data passed to gtk_font_chooser_set_filter_func()
      Gibt zurück:
      %TRUE if the font should be displayed