(event)
| 162 | |
| 163 | @staticmethod |
| 164 | def handler(event): |
| 165 | menu = event.EventObject |
| 166 | stuff = menu.info.get(event.Id) |
| 167 | if stuff is not None: |
| 168 | menuHandler, callingWindow, context, i = stuff |
| 169 | selection = menu.selection |
| 170 | mainItem = menu.mainItem |
| 171 | if not hasattr(selection, "__iter__"): |
| 172 | selection = (selection,) |
| 173 | |
| 174 | menuHandler._baseActivate(callingWindow, context, mainItem, selection, i) |
| 175 | else: |
| 176 | event.Skip() |
| 177 | |
| 178 | @staticmethod |
| 179 | def nextID(): |
nothing calls this directly
no test coverage detected