Grx.Event.get_coords
@accepts(Grx.Event, int, int)
@returns(none)
def get_coords(self, x, y):
# Python wrapper for grx_event_get_coords()
Gets the screen coordinates of an event.
x and y are set to -1 if self is not a Grx.ButtonEvent, Grx.MotionEvent or Grx.TouchEvent.
- self
the event
- x
the x coordinate
- y
the y coordinate