def cmdline_changed(self): picross.display_active() cmdline=self.lang.get_cmdline() print 'LanguageModel:cmdline_changed, ',cmdline for display in self.displays: gui.call_fg_async(display.cmdline_changed,cmdline)
def lexicon_changed(self): picross.display_active() print 'lexicon_changed'
def history_cleared(self): picross.display_active() print 'history_cleared' for display in self.displays: gui.call_fg_async(display.history_cleared)
def history_changed(self,max): picross.display_active() #print 'history changed, max=',max for display in self.displays: gui.call_fg_async(display.history_changed,max)
def active(): print '**************************** active' picross.display_active() picross.to_front()
def __scroll2(self, h, v): picross.display_active() self.__scroll_history(h, v * -1)
def __scroll1(self, h, v): print '__scroll1', h, v picross.display_active() self.__scroll_dict(h * -1, v)
def __scroll3(self, h, v): picross.display_active()