EventConfigureProtocol

public protocol EventConfigureProtocol

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

Generated when a window size or position has changed.

  • ptr

    Untyped pointer to the underlying GdkEventConfigure instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GdkEventConfigure instance.

    Default Implementation

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

    Declaration

    Swift

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

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

EventConfigure Record: EventConfigureProtocol extension (methods and fields)

  • type Extension method

    the type of the event (GDK_CONFIGURE).

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

    the new x coordinate of the window, relative to its parent.

    Declaration

    Swift

    @inlinable
    var x: gint { get set }
  • y Extension method

    the new y coordinate of the window, relative to its parent.

    Declaration

    Swift

    @inlinable
    var y: gint { get set }
  • width Extension method

    the new width of the window.

    Declaration

    Swift

    @inlinable
    var width: gint { get set }
  • height Extension method

    the new height of the window.

    Declaration

    Swift

    @inlinable
    var height: gint { get set }