Learn R Programming

RGtk2 (version 2.12.17)

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