Documentation/Source/index-eric4.Preferences.html

changeset 7
c679fb30c8f3
parent 3
0d9daebf5b8c
equal deleted inserted replaced
6:52e8c820d0dd 7:c679fb30c8f3
25 Package implementing the preferences interface. 25 Package implementing the preferences interface.
26 </p><p> 26 </p><p>
27 The preferences interface consists of a class, which defines the default 27 The preferences interface consists of a class, which defines the default
28 values for all configuration items and stores the actual values. These 28 values for all configuration items and stores the actual values. These
29 values are read and written to the eric4 preferences file by module 29 values are read and written to the eric4 preferences file by module
30 functions. On Windows the data is located in the registry, everywhere 30 functions. The data is stored in a file in a subdirectory of the users home
31 else it is stored in a file in a subdirectory of the users home directory. 31 directory. The individual configuration data is accessed by accessor functions
32 The individual configuration data is accessed by accessor functions defined 32 defined on the module level. The module is simply imported wherever it is needed
33 on the module level. The module is simply imported wherever it is needed
34 with the statement 'import Preferences'. Do not use 'from Preferences import *' 33 with the statement 'import Preferences'. Do not use 'from Preferences import *'
35 to import it. 34 to import it.
36 </p> 35 </p>
37 36
38 <h3>Packages</h3> 37 <h3>Packages</h3>

eric ide

mercurial