gdkDisplayGetWindowAtPointer {RGtk2}R Documentation

gdkDisplayGetWindowAtPointer

Description

Obtains the window underneath the mouse pointer, returning the location of that window in win.x, win.y for screen. Returns NULL if the window under the mouse pointer is not known to GDK (for example, belongs to another application).

Usage

gdkDisplayGetWindowAtPointer(object)

Arguments

object [GdkDisplay] a GdkDisplay

Details

Since 2.2

Value

A list containing the following elements:

retval [GdkWindow] the window under the mouse pointer, or NULL
win.x [integer] return location for origin of the window under the pointer
win.y [integer] return location for origin of the window under the pointer

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]