(self, context)
| 69 | """ |
| 70 | |
| 71 | def __init__(self, context): |
| 72 | super().__init__() |
| 73 | with context.make_current() as ctx: |
| 74 | ctx.call(glfw.set_key_callback, context.window, self._handle_key_event) |
| 75 | self.on_key = util.QuietSet() |
| 76 | |
| 77 | def _handle_key_event(self, window, key, scancode, activity, mods): |
| 78 | """Broadcasts the notification to registered listeners. |
nothing calls this directly
no test coverage detected