def focus_in (self): self._init_properties () if PinYinEngine._shuangpin: self._py_parser = PYParser.ShuangPinParser (PinYinEngine._shuangpin_schema) else: self._py_parser = PYParser.PinYinParser () self._user_input.set_parser (self._py_parser) self._user_input.set_gbk (PinYinEngine._gbk) self._user_input.set_auto_correct (PinYinEngine._auto_correct) IMEngine.focus_in (self) self._update ()
def focus_in (self): IMEngine.focus_in (self) self.update ()