gdkEventGetState: gdkEventGetState

Description Usage Arguments Value Author(s)

View source: R/gdkFuncs.R

Description

If the event contains a "state" field, puts that field in state. Otherwise stores an empty state (0). Returns TRUE if there was a state field in the event. event may be NULL, in which case it's treated as if the event had no state field.

Usage

1

Arguments

object

a GdkEvent or NULL

Value

A list containing the following elements:

retval

[logical] TRUE if there was a state field in the event

state

return location for state

Author(s)

Derived by RGtkGen from GTK+ documentation


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