How do I access the preferences from my main dialog window? Also how do I add a new preference?
- by Captain_Glen
class PreferencesCalorieBurnerDialog(PreferencesDialog):
__gtype_name__ = "PreferencesCalorieBurnerDialog"
def finish_initializing(self, builder): # pylint: disable=E1002
"""Set up the preferences dialog"""
super(PreferencesCalorieBurnerDialog, self).finish_initializing(builder)
# Bind each preference…