(self)
Look up the system font
Look up the system font
Look up the system font
def get_system_prop_font(self):
        """Look up the system font"""
        if self.system_prop_font is not None:
            return(self.system_prop_font)
        elif 'org.gnome.desktop.interface' not in Gio.Settings.list_schemas():
            return
        else:
            gsettings=Gio.Settings.new('org.gnome.desktop.interface')
            value = gsettings.get_value('font-name')
            if value:
                self.system_prop_font = value.get_string()
            else:
                self.system_prop_font = "Sans 10"
            return(self.system_prop_font)
def get_system_prop_font ( self ) : if self . system_prop_font is not None : return ( self . system_prop_font ) elif 'org.gnome.desktop.interface' not in Gio . Settings . list_schemas ( ) : return else : gsettings = Gio . Settings . new ( 'org.gnome.desktop.interface' ) value = gsettings . get_value ( 'font-name' ) if value : self . system_prop_font = value . get_string ( ) else : self . system_prop_font = "Sans 10" return ( self . system_prop_font )