gdkEventPeek {RGtk2} | R Documentation

## gdkEventPeek

### Description

If there is an event waiting in the event queue of some open display, returns a copy of it. See `gdkDisplayPeekEvent`.

### Usage

    gdkEventPeek()

### Value

[`GdkEvent`] a copy of the first `GdkEvent` on some event queue, or `NULL` if no events are in any queues.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]