print "\tl: list modules" print "\ti: module info" print "\td: reload modules" print "\tr: run module" print "\t?: help" print "\tq: quit\n" elif (s == 'i'): s = input("Module #: ") Modules.print_module_info(s) elif (s == "d"): reload(Modules) elif (s == "r"): i = input("Module #: ") file_name = raw_input("Filename: ") Modules.get_module(i).file_name = file_name AFX.run_module(Modules.get_module(i)) elif (s == "q"): break elif (s == ""): # do nothing... pass else: print "Unknown command (%s)" % s print "" #Modules.module_list[2].file_name = "/home/spike/Mame\ Roms\ S-Z/sf2.zip" #AFX.run_module(Modules.module_list[2]) print "ok, let's see... are we done?"
def update_status(self, text): self.status_text.set_markup("<span size='xx-large' weight='bold'>%s</span>" % text) self.status_text.queue_draw() self.queue_draw() AFX.update_ui()