gtk.font_selection
Module for [FontSelection] class
Types 3
classFontSelection : gtk.box.Box
Methods
FontSelectionGidBuilder builder() static nothrowGet builder for [gtk.font_selection.FontSelection] Returns: New builder objectpango.font_face.FontFace getFace() nothrowGets the #PangoFontFace representing the selected font group details (i.e. family, slant, weight, width, etc). Returns: A #PangoFontFace representing the selected font group details. The returned o...gtk.widget.Widget getFaceList() nothrowThis returns the #GtkTreeView which lists all styles available for the selected font. For example, “Regular”, “Bold”, etc. Returns: A #GtkWidget that is part of fontselpango.font_family.FontFamily getFamily() nothrowGets the #PangoFontFamily representing the selected font family. Returns: A #PangoFontFamily representing the selected font family. Font families are a collection of font faces. The returned object...gtk.widget.Widget getFamilyList() nothrowThis returns the #GtkTreeView that lists font families, for example, “Sans”, “Serif”, etc. Returns: A #GtkWidget that is part of fontselgtk.widget.Widget getPreviewEntry() nothrowThis returns the #GtkEntry used to display the font as a preview. Returns: A #GtkWidget that is part of fontselstring getPreviewText() nothrowGets the text displayed in the preview area. Returns: the text displayed in the preview area. This string is owned by the widget and should not be modified or freedint getSize() nothrowThe selected font size. Returns: A n integer representing the selected font size, or -1 if no font size is selected.gtk.widget.Widget getSizeEntry() nothrowThis returns the #GtkEntry used to allow the user to edit the font number manually instead of selecting it from the list of font sizes. Returns: A #GtkWidget that is part of fontselgtk.widget.Widget getSizeList() nothrowThis returns the #GtkTreeView used to list font sizes. Returns: A #GtkWidget that is part of fontselvoid setPreviewText(string text) nothrowSets the text displayed in the preview area. The text is used to show how the selected font looks.classFontSelectionGidBuilderImpl(T) : gtk.box.BoxGidBuilderImpl!T
Fluent builder implementation template for gtk.font_selection.FontSelection
Fluent builder for gtk.font_selection.FontSelection
Methods