EventWindowStateProtocol

public protocol EventWindowStateProtocol

The EventWindowStateProtocol protocol exposes the methods and properties of an underlying GdkEventWindowState 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 EventWindowState. Alternatively, use EventWindowStateRef as a lighweight, unowned reference if you already have an instance you just want to use.

Generated when the state of a toplevel window changes.

  • ptr

    Untyped pointer to the underlying GdkEventWindowState instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GdkEventWindowState instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GdkEventWindowState instance.

    Declaration

    Swift

    var _ptr: UnsafeMutablePointer<GdkEventWindowState>! { get }
  • Required Initialiser for types conforming to EventWindowStateProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

EventWindowState Record: EventWindowStateProtocol extension (methods and fields)

  • type Extension method

    the type of the event (GDK_WINDOW_STATE).

    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 }
  • changedMask Extension method

    mask specifying what flags have changed.

    Declaration

    Swift

    @inlinable
    var changedMask: WindowState { get set }
  • newWindowState Extension method

    the new window state, a combination of GdkWindowState bits.

    Declaration

    Swift

    @inlinable
    var newWindowState: WindowState { get set }