PreferencesDialog
index
/home/mike/src/jokosher/trunk/Jokosher/PreferencesDialog.py

#       THIS FILE IS PART OF THE JOKOSHER PROJECT AND LICENSED UNDER THE GPL. SEE
#       THE 'COPYING' FILE FOR DETAILS
#
#       PreferencesDialog.py
#       
#       This dialog handles the setting of preferences
#
#-------------------------------------------------------------------------------

 
Modules
       
AlsaDevices
Globals
Project
gobject
gst
gtk
os
pygst

 
Classes
       
PreferencesDialog

 
class PreferencesDialog
    This class creates a dialog for selecting and saving global preferences.
 
  Methods defined here:
LoadSetting(self, widget, section, property)
Sets the selected value in a combobox to that specified by a configuration object
 
Keyword arguments:
widget -- The combobox to select the value in.
section -- The configuration section object to find the property in.
property -- The property of the configuration section to use when selecting the combobox value.
OnCheckEncoders(self)
List the available encoders installed on the computer
OnClose(self, button=None)
Called when the user closes the preferences dialog.
 
Keyword arguments:
button -- The button widget that was clicked (unused, automatically specified by gtk).
OnSettingChanged(self, combobox=None)
Called when a setting is changed to update the currently used settings and write an updated settings file
 
Keyword arguments:
combobox -- The combobox widget that has changed (unused, automatically specified by gtk).
__init__(self, project, mainwindow, icon=None)
Keyword arguments:
project -- The jokosher project currently loaded.
mainwindow -- A reference to the main Jokosher window
icon -- The icon for the window manager to display for this window (optional).

 
Data
        STARTUP_LAST_PROJECT = 'lastproject'
STARTUP_NOTHING = 'nothing'
STARTUP_WELCOME_DIALOG = 'welcome'