gdkDisplayGetPointer {RGtk2}R Documentation

gdkDisplayGetPointer

Description

Gets the current location of the pointer and the current modifier mask for a given display.

Usage

gdkDisplayGetPointer(object)

Arguments

object [GdkDisplay] a GdkDisplay

Details

Since 2.2

Value

A list containing the following elements:

screen [GdkScreen] location to store the screen that the cursor is on, or NULL.
x [integer] location to store root window X coordinate of pointer, or NULL.
y [integer] location to store root window Y coordinate of pointer, or NULL.
mask [GdkModifierType] location to store current modifier mask, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]