Learn R Programming

RGtk2 (version 2.20.31)

gdkEventGetState: gdkEventGetState

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

gdkEventGetState(object)

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