Gtk.ThemingEngine.prototype.get_font

function get_font(state:Gtk.StateFlags):Pango.FontDescription {
    // Gjs wrapper for gtk_theming_engine_get_font()
}

Returns the font description for a given state.

Since 3.0

state

state to retrieve the font for

Returns

the Pango.FontDescription for the given state. This object is owned by GTK+ and should not be freed.