Package: gtk
Function gtk:font-chooser-font-family
Lambda Listgtk:font-chooser-font-family (fontchooser) ArgumentsReturn Value A pango:font-family object representing the selected font family, or nil. Details
Gets the Pango font family representing the selected font family.
Font families are a collection of font faces. If the selected font is not installed, returns nil. Examples
(defvar fontbutton (make-instance 'gtk:font-button :font "Serif Bold 10"))
=> FONTBUTTON
(gtk:font-chooser-font-family fontbutton)
=> #<PANGO:FONT-FAMILY {1002728D63}>
(pango:font-family-name *)
=> "Sans" | See also |
2023-6-16