MCPcopy Create free account
hub / github.com/bpython/bpython / mouse_event

Method mouse_event

bpython/urwid.py:473–478  ·  view source on GitHub ↗
(self, size, event, button, col, row, focus)

Source from the content-addressed store, hash-verified

471 return self.bottom_w.keypress(size, key)
472
473 def mouse_event(self, size, event, button, col, row, focus):
474 # TODO: pass to top widget if visible and inside it.
475 if not hasattr(self.bottom_w, "mouse_event"):
476 return False
477
478 return self.bottom_w.mouse_event(size, event, button, col, row, focus)
479
480 def get_cursor_coords(self, size):
481 return self.bottom_w.get_cursor_coords(size)

Callers 1

mouse_eventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected