GrabBrokenEventProtocol

public protocol GrabBrokenEventProtocol : EventProtocol

The GrabBrokenEventProtocol protocol exposes the methods and properties of an underlying GdkGrabBrokenEvent 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 GrabBrokenEvent. Alternatively, use GrabBrokenEventRef as a lighweight, unowned reference if you already have an instance you just want to use.

An event related to a broken windowing system grab.

  • ptr

    Untyped pointer to the underlying GdkGrabBrokenEvent instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GdkGrabBrokenEvent instance.

    Default Implementation

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

    Declaration

    Swift

    var grab_broken_event_ptr: UnsafeMutablePointer<GdkGrabBrokenEvent>! { get }
  • Required Initialiser for types conforming to GrabBrokenEventProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

GrabBrokenEvent Class: GrabBrokenEventProtocol extension (methods and fields)

  • getGrabSurface() Extension method

    Extracts the grab surface from a grab broken event.

    Declaration

    Swift

    @inlinable
    func getGrabSurface() -> SurfaceRef!
  • getImplicit() Extension method

    Checks whether the grab broken event is for an implicit grab.

    Declaration

    Swift

    @inlinable
    func getImplicit() -> Bool
  • grabSurface Extension method

    Extracts the grab surface from a grab broken event.

    Declaration

    Swift

    @inlinable
    var grabSurface: SurfaceRef! { get }
  • implicit Extension method

    Checks whether the grab broken event is for an implicit grab.

    Declaration

    Swift

    @inlinable
    var implicit: Bool { get }