def get_font(self): font = self._font if not font: font = Font._from_pango_description(self._gtk_inner_widget.style.font_desc) return font
def get_font(self): font = self._font if not font: font = Font._from_pango_description( self._gtk_title_widget.style.font_desc) return font
# # Python GUI - Standard Fonts - Gtk # from gi.repository import Gtk from GUI.Fonts import Font system_font = Font._from_pango_description(Gtk.Label().get_style().font_desc) application_font = Font._from_pango_description(Gtk.Entry().get_style().font_desc)