Method

GdkEventget_root_coords

Declaration [src]

gboolean
gdk_event_get_root_coords (
  const GdkEvent* event,
  gdouble* x_root,
  gdouble* y_root
)

Description [src]

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

Parameters

x_root

Type: gdouble*

Location to put root window x coordinate.

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

Type: gdouble*

Location to put root 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 root window coordinates.