Method

GdkEventget_coords

Declaration [src]

gboolean
gdk_event_get_coords (
  const GdkEvent* event,
  gdouble* x_win,
  gdouble* y_win
)

Description [src]

Extract the event window relative x/y coordinates from an event.

Parameters

x_win

Type: gdouble*

Location to put event window x coordinate.

The argument will be set by the function.
The argument can be NULL.
y_win

Type: gdouble*

Location to put event window y coordinate.

The argument will be set by the function.
The argument can be NULL.

Return value

Type: gboolean

TRUE if the event delivered event window coordinates.