RGtk2 (version 2.20.31)

gdkWindowGetOrigin: gdkWindowGetOrigin

Description

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

Usage

gdkWindowGetOrigin(object)

Arguments

object

Value

A list containing the following elements:
retval
[integer] not meaningful, ignore
x
return location for X coordinate
y
return location for Y coordinate