Lib/idlelib/configdialog.py
def load_general_cfg(self):
        "Load current configuration settings for the general options."
        # Set startup state.
        self.startup_edit.set(idleConf.GetOption(
                'main', 'General', 'editor-on-startup', default=1, type='bool'))
        # Set autosave state.
        self.autosave.set(idleConf.GetOption(
                'main', 'General', 'autosave', default=0, type='bool'))
        # Set initial window size.
        self.win_width.set(idleConf.GetOption(
                'main', 'EditorWindow', 'width', type='int'))
        self.win_height.set(idleConf.GetOption(
                'main', 'EditorWindow', 'height', type='int'))
        # Set additional help sources.
        self.user_helplist = idleConf.GetAllExtraHelpSourcesList()
        for help_item in self.user_helplist:
            self.list_help.insert(END, help_item[0])
        self.set_helplist_button_states()
Load current configuration settings for the general options.
Load current configuration settings for the general options.
Load current configuration settings for the general options .
def load_general_cfg(self):
        self.startup_edit.set(idleConf.GetOption(
                'main', 'General', 'editor-on-startup', default=1, type='bool'))
        self.autosave.set(idleConf.GetOption(
                'main', 'General', 'autosave', default=0, type='bool'))
        self.win_width.set(idleConf.GetOption(
                'main', 'EditorWindow', 'width', type='int'))
        self.win_height.set(idleConf.GetOption(
                'main', 'EditorWindow', 'height', type='int'))
        self.user_helplist = idleConf.GetAllExtraHelpSourcesList()
        for help_item in self.user_helplist:
            self.list_help.insert(END, help_item[0])
        self.set_helplist_button_states()
def load_general_cfg ( self ) : self . startup_edit . set ( idleConf . GetOption ( 'main' , 'General' , 'editor-on-startup' , default = 1 , type = 'bool' ) ) self . autosave . set ( idleConf . GetOption ( 'main' , 'General' , 'autosave' , default = 0 , type = 'bool' ) ) self . win_width . set ( idleConf . GetOption ( 'main' , 'EditorWindow' , 'width' , type = 'int' ) ) self . win_height . set ( idleConf . GetOption ( 'main' , 'EditorWindow' , 'height' , type = 'int' ) ) self . user_helplist = idleConf . GetAllExtraHelpSourcesList ( ) for help_item in self . user_helplist : self . list_help . insert ( END , help_item [ 0 ] ) self . set_helplist_button_states ( )
Load current configuration settings for the general options.
Load current configuration settings for the general options .
"Load current configuration settings for the general options." # Set startup state. # Set autosave state. # Set initial window size. # Set additional help sources.
self