event_peek


Description:


[ Version ( replacement = "Event.peek" ) ]
public Event? event_peek ()

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

See peek_event.

Returns:

a copy of the first Event on some event queue, or null if no events are in any queues. The returned Event should be freed with free.


Namespace: Gdk
Package: gdk-3.0



2022 vala-language.org