gdkWindowGetPointer {RGtk2}R Documentation

gdkWindowGetPointer

Description

Obtains the current pointer position and modifier state. The position is given in coordinates relative to the upper left corner of window.

Usage

gdkWindowGetPointer(object)

Arguments

object [GdkWindow] a GdkWindow

Value

A list containing the following elements:

retval [GdkWindow] the window containing the pointer (as with gdkWindowAtPointer), or NULL if the window containing the pointer isn't known to GDK
x [integer] return location for X coordinate of pointer or NULL to not return the X coordinate
y [integer] return location for Y coordinate of pointer or NULL to not return the Y coordinate
mask [GdkModifierType] return location for modifier mask or NULL to not return the modifier mask

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]