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 [GdkEvent] a GdkEvent or NULL

Value

A list containing the following elements:

retval [logical] TRUE if there was a state field in the event
state [GdkModifierType] return location for state

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]