Method

GdkWindowget_origin

Declaration [src]

gint
gdk_window_get_origin (
  GdkWindow* window,
  gint* x,
  gint* y
)

Description [src]

Obtains the position of a window in root window coordinates. (Compare with gdk_window_get_position() and gdk_window_get_geometry() which return the position of a window relative to its parent window.).

Parameters

x

Type: gint*

Return location for X coordinate.

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

Type: gint*

Return location for Y coordinate.

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

Return value

Type: gint

Not meaningful, ignore.