cola.controllers.options – Options and preferences
This module provides the controller for the options gui
-
class cola.controllers.options.OptionsController(view)
Provides control to the options dialog.
-
refresh_view()
- Apply the configured font and update widgets.
-
restore_settings()
- Reverts any changes done in the Options dialog.
-
save_settings()
- Save updated config variables back to git.
-
tell_parent_model(*rest)
- Notifies the main app’s model about changed parameters
-
update_size(*rest)
- Updates fonts whenever font sizes change
-
cola.controllers.options.update_options()
- Launch the options window given a model and parent widget.