DeleteEventProtocol

public protocol DeleteEventProtocol : EventProtocol

The DeleteEventProtocol protocol exposes the methods and properties of an underlying GdkDeleteEvent instance. The default implementation of these can be found in the protocol extension below. For a concrete class that implements these methods and properties, see DeleteEvent. Alternatively, use DeleteEventRef as a lighweight, unowned reference if you already have an instance you just want to use.

An event related to closing a top-level surface.

  • ptr

    Untyped pointer to the underlying GdkDeleteEvent instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • delete_event_ptr Default implementation

    Typed pointer to the underlying GdkDeleteEvent instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GdkDeleteEvent instance.

    Declaration

    Swift

    var delete_event_ptr: UnsafeMutablePointer<GdkDeleteEvent>! { get }
  • Required Initialiser for types conforming to DeleteEventProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)