Grx.Event.peek

function peek(): Grx.Event {
    // Gjs wrapper for grx_event_peek()
}
  

Gets the first event in the queue, but does not remove the event from the queue.

Returns

the event