GdkEvent Constructor

Creates a new GdkEvent object for the given type.