halo.Preference module

class halo.Preference.PreferenceDialog(parent)[source]

Bases: gi.overrides.Gtk.Dialog

Display the Preference dialogue.

file_chooser(widget)[source]

Displays the file picker.

Parameters:widget – button
file_preview(widget)[source]

Shows the preview of the images selected.

Parameters:widget – file picker dialog
save_preference()[source]

Saves the latest changes to preferences into the db.