Grx.Event.new

function new(type: Grx.EventType): Grx.Event {
    // Gjs wrapper for grx_event_new()
}
  

Allocates a new Grx.Event.

type

the event type

Returns

the event struct