gdkEventGetState {RGtk2} | R Documentation

## 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

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]