MCPcopy Create free account
hub / github.com/ActiveState/code / poll

Method poll

recipes/Python/167487_Windows_SAPI4/recipe-167487.py:300–306  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

298
299
300 def poll(self):
301 new_voice_name = self.listbox.get(self.listbox.curselection()[0])
302 if new_voice_name != self.sapi.voice_name:
303 self.setVoice(new_voice_name)
304 self.drawFaceMouthTalk()
305 self.listbox.after(90, self.poll)
306 return None
307
308 def test(self):
309 #test

Callers 1

runMethod · 0.45

Calls 5

setVoiceMethod · 0.95
drawFaceMouthTalkMethod · 0.95
getMethod · 0.45
curselectionMethod · 0.45
afterMethod · 0.45

Tested by

no test coverage detected