1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-13 13:52:13 +03:00

Updated wording in plugins docs

This commit is contained in:
A_D 2020-12-24 06:22:40 +02:00 committed by Athanasius
parent 278480b99f
commit a68468d7ce

View File

@ -220,8 +220,9 @@ title will be the value that you returned from `plugin_start3`. Use widgets
from EDMC's myNotebook.py for the correct look-and-feel. You can be notified from EDMC's myNotebook.py for the correct look-and-feel. You can be notified
when the settings dialog is closed so you can save your settings. when the settings dialog is closed so you can save your settings.
You can use `set()` and `get_$type()` (where type is one of: `int`, `bool`, `str`, `list`) from EDMC's You can use `set()` and `get_$type()` (where type is one of: `int`, `bool`, `str`, `list`) from EDMC's
`config.config` object to retrieve your plugin's settings in a platform-independent way. `config.config` object to retrieve your plugin's settings in a platform-independent way. Previously this was done with
a single set and two get methods, the new methods provide better type safety.
**Be sure to use a unique prefix for any settings you save so as not to clash **Be sure to use a unique prefix for any settings you save so as not to clash
with core EDMC or other plugins.** with core EDMC or other plugins.**