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.
-
Untyped pointer to the underlying
GdkGrabBrokenEventinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
grab_broken_event_ptrDefault implementationTyped pointer to the underlying
GdkGrabBrokenEventinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GdkGrabBrokenEventinstance.Declaration
Swift
var grab_broken_event_ptr: UnsafeMutablePointer<GdkGrabBrokenEvent>! { get } -
Required Initialiser for types conforming to
GrabBrokenEventProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
getGrabSurface()Extension methodExtracts the grab surface from a grab broken event.
Declaration
Swift
@inlinable func getGrabSurface() -> SurfaceRef! -
getImplicit()Extension methodChecks whether the grab broken event is for an implicit grab.
Declaration
Swift
@inlinable func getImplicit() -> Bool -
grabSurfaceExtension methodExtracts the grab surface from a grab broken event.
Declaration
Swift
@inlinable var grabSurface: SurfaceRef! { get } -
implicitExtension methodChecks whether the grab broken event is for an implicit grab.
Declaration
Swift
@inlinable var implicit: Bool { get }
View on GitHub
Install in Dash
GrabBrokenEventProtocol Protocol Reference