gdkWindowGetRootCoords: gdkWindowGetRootCoords

Description Usage Arguments Details Value Author(s)

View source: R/gdkFuncs.R

Description

Obtains the position of a window position in root window coordinates. This is similar to gdkWindowGetOrigin but allows you go pass in any position in the window, not just the origin.

Usage

1
gdkWindowGetRootCoords(object, x, y)

Arguments

object

a GdkWindow

x

X coordinate in window

y

Y coordinate in window

Details

Since 2.18

Value

A list containing the following elements:

root.x

return location for X coordinate

root.y

return location for Y coordinate

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.