Learn R Programming

RGtk2 (version 2.20.31)

gtkFontSelectionGetFontName: gtkFontSelectionGetFontName

Description

Gets the currently-selected font name.

Usage

gtkFontSelectionGetFontName(object)

Arguments

Value

NULL if no font is selected.

Details

Note that this can be a different string than what you set with gtkFontSelectionSetFontName, as the font selection widget may normalize font names and thus return a string with a different structure. For example, "Helvetica Italic Bold 12" could be normalized to "Helvetica Bold Italic 12". Use pangoFontDescriptionEqual if you want to compare two font descriptions.