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

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

        def get_config_file_obj(*args, **kwargs):
#    global _config_ini
    
#    if not _config_ini:
    from modules import dict4ini
    _config_ini = dict4ini.DictIni(get_config_file(), *args, **kwargs)
        
    return _config_ini
        


src/u/l/ulipad-HEAD/mixins/Import.py   ulipad(Download)
    }
    lang = editor.languagename
    x = common.get_config_file_obj(values={'comment_chars':chars})
    cchar = ''
    if x.comment_chars.has_key(lang):
    country = win.language_country[index]
    wx.MessageDialog(win, tr("Because you changed the language, \nit will be enabled at next startup."), tr("Change language"), wx.OK).ShowModal()
    ini = common.get_config_file_obj()
    ini.language.default = country
    ini.save()
def app_init(app, filenames):
    if app.ddeflag:
        x = common.get_config_file_obj()
        port = x.server.get('port', 50009)
        if DDE.senddata('\r\n'.join(filenames), port=port):
def init_accelerator(win, accellist, editoraccellist):
    ini = common.get_config_file_obj(onelevel=True)
 
    keylist = {}
    for mid, v in accellist.items():

src/u/l/ulipad-HEAD/mixins/mFormat.py   ulipad(Download)
    }
    lang = editor.languagename
    x = common.get_config_file_obj(values={'comment_chars':chars})
    cchar = ''
    if x.comment_chars.has_key(lang):

src/u/l/ulipad-HEAD/mixins/mHotKey.py   ulipad(Download)
def init_accelerator(win, accellist, editoraccellist):
    ini = common.get_config_file_obj(onelevel=True)
 
    keylist = {}
    for mid, v in accellist.items():

src/u/l/ulipad-HEAD/mixins/DirBrowser.py   ulipad(Download)
 
        self.filter = ['*/.*', '*.pyc', '*.bak', '.pyo']
        ini = common.get_config_file_obj()
 
        if ini.ignore.matches:
        self.fileimages['.bat'] = 'file_txt.gif'
        self.fileimages['.xml'] = 'file_xml.gif'
        ini = common.get_config_file_obj()
        self.fileimages.update(ini.fileimages)
        ini.fileimages = self.fileimages
        if filename not in self.filter:
            self.filter.append(filename)
            ini = common.get_config_file_obj()
            ini.ignore.matches = self.filter
            ini.save()
        if ext not in self.filter:
            self.filter.append(str('*' + ext))
            ini = common.get_config_file_obj()
            ini.ignore.matches = self.filter
            ini.save()

src/u/l/ulipad-HEAD/mixins/EditorFactory.py   ulipad(Download)
 
        #set FlatNotebook style
        x = common.get_config_file_obj()
        tab_color = x.default.get('editor_tab_color', '#98FB98')
        self.SetActiveTabColour(tab_color)

src/u/l/ulipad-HEAD/UliPad.py   ulipad(Download)
Globals.confpath = confpath
 
ini = common.get_config_file_obj()
debugflag = ini.default.get('debug', False)
 

src/u/l/ulipad-HEAD/mixins/LexerBase.py   ulipad(Download)
 
        #add default font settings in config.ini
        x = common.get_config_file_obj()
#        font = wx.SystemSettings_GetFont(wx.SYS_DEFAULT_GUI_FONT)
#        font = wx.Font(10, wx.TELETYPE, wx.NORMAL, wx.NORMAL, True)

src/u/l/ulipad-HEAD/plugins/wizard/WizardPanel.py   ulipad(Download)
        self._loadPath(self.root, wizardpath)
 
        x = common.get_config_file_obj()
        if x.wizard.path:
            if isinstance(x.wizard.path, list):

src/u/l/ulipad-HEAD/mixins/ShellWindow.py   ulipad(Download)
    def __init__(self, parent, mainframe):
        self.initmixin()
 
        #add default font settings in config.ini
        x = common.get_config_file_obj()

src/u/l/ulipad-HEAD/mixins/mLanguage.py   ulipad(Download)
    country = win.language_country[index]
    wx.MessageDialog(win, tr("Because you changed the language, \nit will be enabled at next startup."), tr("Change language"), wx.OK).ShowModal()
    ini = common.get_config_file_obj()
    ini.language.default = country
    ini.save()

  1 | 2  Next