1234567891011121314151617181920212223242526 |
- Settings
- ========
- .. module:: settings
- .. py:class:: Settings
- This is the settings window class.
- You should not subclass or create instances of this class.
- .. py:method:: build_new_setting(self, handle, value)
- Method to build a new settings entry
- :param object handle: The settins object (e.g. Input field or Checkbox etc.)
- :param str value: The name of the setting
- :return: handle
- Add new setting
- ~~~~~~~~~~~~~~~
- As of this version settings can only be added for board configuration elements.
- To add a new settings entry, create the settings element in the ``__init__`` method using ``self.build_new_setting(...)``.
- Then add the new element in the ``initUI`` method to the layour.
|