gdkDeviceGetHistory: gdkDeviceGetHistory

Description Usage Arguments Value Author(s)

View source: R/gdkFuncs.R

Description

Obtains the motion history for a device; given a starting and ending timestamp, return all events in the motion history for the device in the given range of time. Some windowing systems do not support motion history, in which case, FALSE will be returned. (This is not distinguishable from the case where motion history is supported and no events were found.)

Usage

1

Arguments

object

a GdkDevice

window

the window with respect to which which the event coordinates will be reported

start

starting timestamp for range of events to return

stop

ending timestamp for the range of events to return

Value

A list containing the following elements:

retval

[logical] TRUE if the windowing system supports motion history and at least one event was found.

events

location to store a newly-allocated list of GdkTimeCoord, or NULL. [ array length=n_events][ out ][ transfer none ]

n.events

location to store the length of events, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.