Example #1
0
def main():
    'constructor for your class instances'
    parse_options()

    # Run the application.    
    window = camel_case_nameWindow.camel_case_nameWindow()
    window.show()
    Gtk.main()
Example #2
0
def main():
    'constructor for your class instances'
    parse_options()

    # Run the application.    
    window = camel_case_nameWindow.camel_case_nameWindow()
    window.show()
    Gtk.main()
def main():
    'constructor for your class instances'
    parse_options()

    # preferences
    # set some values for our first session
    # TODO: replace defaults with your own values
    default_preferences = {
    'example_entry': 'I remember stuff',
    }
    preferences.update(default_preferences)
    # user's stored preferences are used for 2nd and subsequent sessions
    preferences.db_connect()
    preferences.load()

    # Run the application.    
    window = camel_case_nameWindow.camel_case_nameWindow()
    window.show()
    gtk.main()
    
    preferences.save()