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
GdkGrabBrokenEvent
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
grab_broken_event_ptr
Default implementationTyped 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)
-
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
-
grabSurface
Extension methodExtracts the grab surface from a grab broken event.
Declaration
Swift
@inlinable var grabSurface: SurfaceRef! { get }
-
implicit
Extension methodChecks whether the grab broken event is for an implicit grab.
Declaration
Swift
@inlinable var implicit: Bool { get }