Package ch.bailu.gtk.gtk
Interface FontChooser.OnFontFilterFunc
- Enclosing class:
- FontChooser
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onFontFilterFunc
(CallbackHandler __self, FontFamily family, FontFace face, Pointer data) The type of function that is used for deciding what fonts get
shown in a `GtkFontChooser`.
-
Method Details
-
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].- Parameters:
family
- a `PangoFontFamily`face
- a `PangoFontFace` belonging to @familydata
- user data passed to gtk_font_chooser_set_filter_func()- Returns:
- %TRUE if the font should be displayed
-