Event.this

Creates a new event of the given type. All fields are set to 0.

  1. this(GdkEvent* gdkEvent, bool ownedRef)
  2. this(GdkEventType type)
    class Event

Parameters

type GdkEventType

Return Value

a newly-allocated gdk.Event The returned gdk.Event should be freed with Event.free.

Throws

ConstructionException GTK+ fails to create the object.

Meta