Exemple #1
0
 def onLangProfileActivated(self, msg):
     guid = msg["guid"]
     service = textServiceMgr.createService(self, guid)
     self.service = service
     # activate the new text service
     if service:
         self.currentReply = service.handleRequest(msg)
Exemple #2
0
 def onLangProfileActivated(self, msg):
     guid = msg["guid"]
     service = textServiceMgr.createService(self, guid)
     self.service = service
     # activate the new text service
     if service:
         self.currentReply = service.handleRequest(msg)
Exemple #3
0
 def init(self, msg):
     self.guid = msg["id"]
     self.isWindows8Above = msg["isWindows8Above"]
     self.isMetroApp = msg["isMetroApp"]
     self.isUiLess = msg["isUiLess"]
     self.isUiLess = msg["isConsole"]
     # create the text service
     self.service = textServiceMgr.createService(self, self.guid)
     return (self.service is not None)
Exemple #4
0
 def init(self, msg):
     self.guid = msg["id"]
     self.isWindows8Above = msg["isWindows8Above"]
     self.isMetroApp = msg["isMetroApp"]
     self.isUiLess = msg["isUiLess"]
     self.isUiLess = msg["isConsole"]
     # create the text service
     self.service = textServiceMgr.createService(self, self.guid)
     return (self.service is not None)
Exemple #5
0
 def onLangProfileActivated(self, guid):
     service = self.service
     # deactivate the current text service
     if service:
         service.onDeactivate()
     service = textServiceMgr.createService(self, guid)
     self.service = service
     # activate the new text service
     if service:
         service.onActivate()
Exemple #6
0
 def onLangProfileActivated(self, guid):
     service = self.service
     # deactivate the current text service
     if service:
         service.onDeactivate()
     service = textServiceMgr.createService(self, guid)
     self.service = service
     # activate the new text service
     if service:
         service.onActivate()