def main(): application = Application() application.run() application.destroy()
__author__ = 'kpasech' from gui.application import Application if __name__ == "__main__": app = Application() app.run()
vbox.pack_start(mb, False, False) vbox.pack_start(mb2, False, False) vbox.pack_start(mb3, False, False) hbox.pack_start(sb, False, False) hbox.pack_start(sb1, False, False) hbox.pack_start(sb2, False, False) # Add scrolled window. scrolled_window = ScrolledWindow() category_box.pack_start(vvbox, False, False) vvbox.pack_start(scrolled_window, False, False) vvbox.pack_start(hbox, False, False) scrolled_window.add_child(vbox) scrolled_window.set_size_request(160, 540) # Add statusbar. statusbar = Statusbar(36) application.main_box.pack_start(statusbar.status_event_box, False) application.add_move_window_event(statusbar.status_event_box) application.add_toggle_window_event(statusbar.status_event_box) # Run. application.run()
#!/usr/bin/python import sys from gui.application import Application app = Application() sys.exit(app.run())