cola.settings – Settings manager

This handles saving complex settings such as bookmarks, etc.

class cola.settings.SettingsManager

Manages a SettingsModel singleton

static gui_state(gui)
Returns the state for a gui
static save()
static save_gui_state(gui)
Saves settings for a cola view
static settings()
Returns the SettingsModel singleton
class cola.settings.SettingsModel
add_bookmark(bookmark)
Adds a bookmark to the saved settings
remove_bookmark(bookmark)
Removes a bookmark from the saved settings

Previous topic

cola.resources – Resources

Next topic

cola.utils – Miscellaneous helpers

This Page