Return True if the virtual event is one of the core idle key events. virtualEvent - string, name of the virtual event to test for, without the enclosing '<< >>'
(self, virtualEvent)
| 572 | return keySet |
| 573 | |
| 574 | def IsCoreBinding(self, virtualEvent): |
| 575 | """Return True if the virtual event is one of the core idle key events. |
| 576 | |
| 577 | virtualEvent - string, name of the virtual event to test for, |
| 578 | without the enclosing '<< >>' |
| 579 | """ |
| 580 | return ('<<'+virtualEvent+'>>') in self.GetCoreKeys() |
| 581 | |
| 582 | # TODO make keyBindings a file or class attribute used for test above |
| 583 | # and copied in function below. |