GLXCurses.MainLoop module¶
-
class
GLXCurses.MainLoop.MainLoop(application=None, debug=None)[source]¶ Bases:
objectDescription: The MainLoop is something close to a infinity loop with a start() and stop() method
- Methods:
- start() – start the mainloop stop() – stop the mainloop emit() – emit a signal
Warning
you have to start the mainloop from you application via MainLoop().start()
Creates a new MainLoop structure.
-
debug¶
-
instance= None¶
-
application¶
-
event_list¶
-
running¶
-
glxcurses_support¶
-
start()[source]¶ Runs a MainLoop until quit() is called on the loop. If this is called for the thread of the loop’s , it will process events from the loop, otherwise it will simply wait.