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 gtk:font-chooser-font-map function gets the custom font map of the font chooser widget, or nil if it does not have one. The (setf gtk:font-chooser-font-map) function 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. ExamplesFcConfig *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 |
2023-6-16