FocusEventProtocol
public protocol FocusEventProtocol : EventProtocol
The FocusEventProtocol protocol exposes the methods and properties of an underlying GdkFocusEvent 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 FocusEvent.
Alternatively, use FocusEventRef as a lighweight, unowned reference if you already have an instance you just want to use.
An event related to a keyboard focus change.
-
Untyped pointer to the underlying
GdkFocusEventinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
focus_event_ptrDefault implementationTyped pointer to the underlying
GdkFocusEventinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GdkFocusEventinstance.Declaration
Swift
var focus_event_ptr: UnsafeMutablePointer<GdkFocusEvent>! { get } -
Required Initialiser for types conforming to
FocusEventProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
View on GitHub
Install in Dash
FocusEventProtocol Protocol Reference