MCPcopy Index your code
hub / github.com/python/cpython / load_shelled_cfg

Method load_shelled_cfg

Lib/idlelib/configdialog.py:1875–1885  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1873 self.context_int.pack(side=TOP, padx=5, pady=5)
1874
1875 def load_shelled_cfg(self):
1876 # Set variables for shell windows.
1877 self.auto_squeeze_min_lines.set(idleConf.GetOption(
1878 'main', 'PyShell', 'auto-squeeze-min-lines', type='int'))
1879 # Set variables for editor windows.
1880 self.autosave.set(idleConf.GetOption(
1881 'main', 'General', 'autosave', default=0, type='bool'))
1882 self.line_numbers_default.set(idleConf.GetOption(
1883 'main', 'EditorWindow', 'line-numbers-default', type='bool'))
1884 self.context_lines.set(idleConf.GetOption(
1885 'extensions', 'CodeContext', 'maxlines', type='int'))
1886
1887
1888class ExtPage(Frame):

Callers 2

__init__Method · 0.95
test_load_shelled_cfgMethod · 0.80

Calls 2

GetOptionMethod · 0.80
setMethod · 0.45

Tested by 1

test_load_shelled_cfgMethod · 0.64