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
GdkEventSetting
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped pointer to the underlying
GdkEventSetting
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GdkEventSetting
instance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GdkEventSetting>! { get }
-
Required Initialiser for types conforming to
EventSettingProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
type
Extension methodthe type of the event (
GDK_SETTING
).Declaration
Swift
@inlinable var type: GdkEventType { get set }
-
window
Extension methodthe window which received the event.
Declaration
Swift
@inlinable var window: WindowRef! { get set }
-
sendEvent
Extension methodtrue
if the event was sent explicitly.Declaration
Swift
@inlinable var sendEvent: gint8 { get set }
-
action
Extension methodwhat happened to the setting (
GDK_SETTING_ACTION_NEW
,GDK_SETTING_ACTION_CHANGED
orGDK_SETTING_ACTION_DELETED
).Declaration
Swift
@inlinable var action: GdkSettingAction { get set }
-
name
Extension methodthe name of the setting.
Declaration
Swift
@inlinable var name: UnsafeMutablePointer<CChar>! { get set }