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.

  • ptr

    Untyped pointer to the underlying GdkEventSetting instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • _ptr Default implementation

    Typed 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)

EventSetting Record: EventSettingProtocol extension (methods and fields)

  • type Extension method

    the type of the event (GDK_SETTING).

    Declaration

    Swift

    @inlinable
    var type: GdkEventType { get set }
  • window Extension method

    the window which received the event.

    Declaration

    Swift

    @inlinable
    var window: WindowRef! { get set }
  • sendEvent Extension method

    true if the event was sent explicitly.

    Declaration

    Swift

    @inlinable
    var sendEvent: gint8 { get set }
  • action Extension method

    what happened to the setting (GDK_SETTING_ACTION_NEW, GDK_SETTING_ACTION_CHANGED or GDK_SETTING_ACTION_DELETED).

    Declaration

    Swift

    @inlinable
    var action: GdkSettingAction { get set }
  • name Extension method

    the name of the setting.

    Declaration

    Swift

    @inlinable
    var name: UnsafeMutablePointer<CChar>! { get set }