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

#       THIS FILE IS PART OF THE JOKOSHER PROJECT AND LICENSED UNDER THE GPL. SEE
#       THE 'COPYING' FILE FOR DETAILS
#
#       NewDialog.py
#       
#       This module shows the New Project which is used to create a new Jokosher
#       project.
#
#-------------------------------------------------------------------------------

 
Modules
       
Globals
Project
gettext
gtk
os
pwd

 
Classes
       
NewProjectDialog

 
class NewProjectDialog
    This module shows the New Project which is used to create a new Jokosher project.
 
  Methods defined here:
OnCancel(self, button)
Destroys the dialog when the cancel button is pressed.
 
Parameters:
        button -- reserved for GTK callbacks, don't use it explicitly.
OnOK(self, button)
Tries to create and set a new Project with the user input name, author
and location.
If the process fails, a message is issued to the user stating the error.
 
Parameters:
        button -- reserved for GTK callbacks, don't use it explicitly.
__init__(self, parent)
Creates a new instance of NewProjectDialog.
 
The dialog is used to create a new Project based on the user's input.
 
Parameters:
        parent -- reference to the MainApp Jokosher window.