Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/p/e/PEATDB-2.3/PEATDB/Ekin/Ekin_prefs.py   PEATDB(Download)
 
        try:
            f=self.preferences.get('font')
            self.font_input.set(f)
        except:
            self.preferences.set('font','fixed')
        try:
            f=self.preferences.get('fontsize')
            self.preferences.set('fontsize',12)
        try:
            f=self.preferences.get('fontstyle')
            self.fontstyle_input.set(f)
        except:
            self.preferences.set('fontstyle',1)
        try:
            self.graphsize =self.preferences.get('graphsize')

src/p/e/PEATDB-2.3/PEATDB/DNAtool/DNAtool.py   PEATDB(Download)
        for key in self.defaultprefs:
            if key in self.preferences.prefs:
                self.__dict__[key].set(self.preferences.get(key))
            else:
                self.preferences.set(key, self.defaultprefs[key])