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`` | a `GdkDisplay`

### Details

Since 2.2

### Value

A list containing the following elements:

``screen`` | location to store the screen that the cursor is on, or `NULL`. [ allow-none ]
``x`` | (out): location to store root window X coordinate of pointer, or `NULL`. [ allow-none ]
``y`` | (out): location to store root window Y coordinate of pointer, or `NULL`. [ allow-none ]
``mask`` | (out): location to store current modifier mask, or `NULL`. [ allow-none ]

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]