Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gdkWindowGetPointer

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

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. [ transfer none ]

x

return location for X coordinate of pointer or NULL to not return the X coordinate. [ out ][ allow-none ]

y

return location for Y coordinate of pointer or NULL to not return the Y coordinate. [ out ][ allow-none ]

mask

return location for modifier mask or NULL to not return the modifier mask. [ out ][ allow-none ]

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.