Ignore:
Timestamp:
08/05/09 02:42:38 (10 years ago)
Author:
bretzel_parpg
Message:

Starting to add the help menus

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/tools/Writing Editor/ui/popupWindows.py

    r219 r223  
    190190        self.applyOptions(options_file) 
    191191        self.close() 
    192          
    193  
    194  
    195  
    196  
     192 
     193class HelpWindow(): 
     194    """ 
     195    The help window 
     196    """ 
     197    def __init__(self, help_type): 
     198        """ 
     199        @type help_type: string 
     200        @param help_type: whether the window should be for help with the editor or scripting 
     201                          can be either "editor" or "scripting" 
     202        """ 
     203        if (help_type == "editor"): 
     204            self.setWindowTitle("Help with the Editor") 
     205 
     206        elif (help_type == "scripting"): 
     207            self.setWindowTitle("Help with Scripting") 
     208 
     209        else: 
     210            print "Invalid argument for help_type. Should be either \"editor\" or \"scripting\"" 
     211         
     212 
     213 
     214 
     215 
Note: See TracChangeset for help on using the changeset viewer.