Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/c/o/comtypes-1.0.0/comtypes/test/test_word.py   comtypes(Download)
        if 0: # word does not allow programmatic access, so this does fail
            evt = word.VBE.Events.CommandBarEvents(btn)
            from comtypes.gen import Word, VBIDE
            comtypes.client.ShowEvents(evt, interface=VBIDE._dispCommandBarControlEvents)
            comtypes.client.ShowEvents(evt)