Package: gtk

Function gtk-font-chooser-font-family

Lambda List

gtk-font-chooser-font-family (fontchooser)

Arguments

fontchooser -- a gtk-font-chooser object

Return 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.

Example

(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

*2021-2-11