WelcomeDialog
index
/home/david/Projects/Jokosher/trunk/Jokosher/WelcomeDialog.py

#       THIS FILE IS PART OF THE JOKOSHER PROJECT AND LICENSED UNDER THE GPL. SEE
#       THE 'COPYING' FILE FOR DETAILS
#
#       WelcomeDialog.py
#       
#       This class displays the welcome dialog when the application starts.
#
#-------------------------------------------------------------------------------

 
Modules
       
Globals
PreferencesDialog
gtk
os

 
Classes
       
WelcomeDialog

 
class WelcomeDialog
    This class handles all of the processing associated with the
Welcome Dialog (which comes up on start).
 
  Methods defined here:
OnDialogClose(self, dialog=None)
The dialog was closed.
 
Parameters:
        dialog -- reserved for GTK callbacks, don't use it explicitly.
OnEnableRecentProjectButton(self, treeview)
When a recent project is selected, enable the button to load it.
 
Parameters:
        treeview -- reserved for GTK callbacks, don't use it explicitly.
OnNewProject(self, widget)
Starts a new project.
 
Parameters:
        widget -- reserved for GTK callbacks, don't use it explicitly.
OnOpenProject(self, button=None)
Opens an existing project.
 
Parameters:
        button -- reserved for GTK callbacks, don't use it explicitly.
OnOpenRecentProjectButton(self, widget)
Loads the selected recent project.
 
Parameters:
        widget -- reserved for GTK callbacks, don't use it explicitly.
OnPreferences(self, button)
Shows the preferences window.
 
Parameters:
        button -- reserved for GTK callbacks, don't use it explicitly.
OnQuit(self, button)
Quits Jokosher.
 
Parameters:
        widget -- reserved for GTK callbacks, don't use it explicitly.
OnRecentProjectSelected(self, treeview, path, view_column)
This method is called when one of the entries in the recent projects
list is selected.
 
Parameters:
        treeview -- reserved for GTK callbacks, don't use it explicitly.
        path -- path to the project file.
        view_column -- reserved for GTK callbacks, don't use it explicitly.
OnStartupToggled(self, widget)
When the startup toggle box is toggled, this method is run to update
the setting in Globals.
 
Parameters:
        widget -- reserved for GTK callbacks, don't use it explicitly.
PopulateRecentProjects(self)
Populate the Recent Projects menu with items from global settings.
__init__(self, mainwindow)
Creates a new instance of MainApp.
 
Parameters:
        mainwindow -- instance of JokosherApp. Used for parent/child relationship.