procedure Destroy (Data : in out User_Data_Type)
type Gtk_Font_Filter_Func is access function
(Family : not null access Pango.Font_Family.Pango_Font_Family_Record'Class;
Face : not null access Pango.Font_Face.Pango_Font_Face_Record'Class;
Data : User_Data_Type) return Boolean;
The type of function that is used for deciding what fonts get shown in a Gtk.Font_Chooser.Gtk_Font_Chooser. See Gtk.Font_Chooser.Set_Filter_Func.
a Pango.Font_Family.Pango_Font_Family
a Pango.Font_Face.Pango_Font_Face belonging to Family
user data passed to Gtk.Font_Chooser.Set_Filter_Func
True if the font should be displayed
procedure Set_Filter_Func
(Self : Gtk.Font_Chooser.Gtk_Font_Chooser;
Filter : Gtk_Font_Filter_Func;
User_Data : User_Data_Type)
Adds a filter function that decides which fonts to display in the font chooser. Since: gtk+ 3.2
a Gtk_Font_Filter_Func, or null
data to pass to Filter
type User_Data_Type (<>) is private;