Grx.Event.get_coords

@accepts(Grx.Event, guint32, guint32)
@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.MotionEvent or Grx.TouchEvent.

self

the event

x

the x coordinate

y

the y coordinate