Package: gtk
Function gtk-font-chooser-font-map
Lambda Listgtk-font-chooser-font-map (fontchooser) SyntaxArgumentsDetails
Accessor of the Pango font map of the font chooser widget. The function gtk-font-chooser-font-map gets the custom font map of the font chooser widget, or nil if it does not have one. The function (setf gtk-font-chooser-font-map) sets a custom font map to use for the font chooser widget. A custom font map can be used to present application specific fonts instead of or in addition to the normal system fonts. Since 3.18 ExampleFcConfig *config; PangoFontMap *fontmap;Note that other GTK+ widgets will only be able to use the application specific font if it is present in the font map they use. The following code updates the font map for a gtk-label widget with fontmap. (setf (pango-context-font-map (gtk-widget-pango-context label)) fontmap) | See also |
2021-1-20