EventSettingProtocol
public protocol EventSettingProtocol
The EventSettingProtocol protocol exposes the methods and properties of an underlying GdkEventSetting 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 EventSetting.
Alternatively, use EventSettingRef as a lighweight, unowned reference if you already have an instance you just want to use.
Generated when a setting is modified.
-
Untyped pointer to the underlying
GdkEventSettinginstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
_ptrDefault implementationTyped pointer to the underlying
GdkEventSettinginstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GdkEventSettinginstance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GdkEventSetting>! { get } -
Required Initialiser for types conforming to
EventSettingProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
typeExtension methodthe type of the event (
GDK_SETTING).Declaration
Swift
@inlinable var type: GdkEventType { get set } -
windowExtension methodthe window which received the event.
Declaration
Swift
@inlinable var window: WindowRef! { get set } -
sendEventExtension methodtrueif the event was sent explicitly.Declaration
Swift
@inlinable var sendEvent: gint8 { get set } -
actionExtension methodwhat happened to the setting (
GDK_SETTING_ACTION_NEW,GDK_SETTING_ACTION_CHANGEDorGDK_SETTING_ACTION_DELETED).Declaration
Swift
@inlinable var action: GdkSettingAction { get set } -
nameExtension methodthe name of the setting.
Declaration
Swift
@inlinable var name: UnsafeMutablePointer<CChar>! { get set }
View on GitHub
Install in Dash
EventSettingProtocol Protocol Reference