18 from ..context
import IS_WINDOWS
19 from ..ui.preferences_dialogs
import PreferencesPanel, comma_separated_value_editor
23 location =
'Importing'
24 title =
'Library imports and PYTHONPATH'
27 super(PreferencesPanel, self).
__init__(parent)
28 self.SetSizer(wx.FlexGridSizer(rows=4, cols=2, vgap=10, hgap=5))
29 self.Sizer.AddGrowableCol(1, proportion=1)
36 (
'auto imports',
'Comma separated list of libraries to be '
37 'automatically imported.'),
38 (
'pythonpath',
'Comma separated list of directories to be added '
39 'to PYTHONPATH when libraries are searched.'),
40 (
'library xml directories',
'Comma separated list of directories '
41 'containing library spec files.')
43 for (name, _help)
in list_settings:
54 self.Sizer.Add(editor, flag=wx.EXPAND)
def _create_list_setting_editor(self, settings, name, _help)
def _add_settings(self, settings)
def __init__(self, parent, settings)
Base class for all preference panels used by PreferencesDialog.
def comma_separated_value_editor(parent, settings, name, label, help='')