Penguin
Note: You are viewing an old revision of this page. View the current version.
class MainLoop?

def callback()

def main(self,string? argv)

Event x=Event()

self.callback()

def registerCallBack(self,def callback())
self.callback=callback
class Event
def init(self,MainLoop? main)
main.registerCallback(self.callback)
def callback(self)
stdio.print("Hello World")