gdkWindowGetPosition {RGtk2}R Documentation

gdkWindowGetPosition

Description

Obtains the position of the window as reported in the most-recently-processed GdkEventConfigure. Contrast with gdkWindowGetGeometry which queries the X server for the current window position, regardless of which events have been received or processed.

Usage

gdkWindowGetPosition(object)

Arguments

object [GdkWindow] a GdkWindow

Details

The position coordinates are relative to the window's parent window.

Value

A list containing the following elements:

x [integer] X coordinate of window
y [integer] Y coordinate of window

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]