def __init__(self, callback, finished = lambda : None, text = "", words_per_minute = 300, words_per_chunk = 1): ThreadingActor.__init__(self) self.words_per_minute = words_per_minute self.words_per_chunk = words_per_chunk self.book = Book.create(text) self.callback = assure(str, _)(callback) self.finished = finished
def __init__(self, *args, **kwargs): ThreadingActor.__init__(self) self.frame = wx.Frame(*args, **kwargs) self.load_settings() self.make_menues() self.make_widgets() self.make_text_producers() self.running = False
def __init__(self): ThreadingActor.__init__(self) self.infinite_loop_count = 0 self.other_called = False
def __init__(self): ThreadingActor.__init__(self)