StyleClassProtocol

public protocol StyleClassProtocol

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

  • ptr

    Untyped pointer to the underlying GtkStyleClass instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GtkStyleClass instance.

    Default Implementation

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

    Declaration

    Swift

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

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

StyleClass Record: StyleClassProtocol extension (methods and fields)

  • parentClass Extension method

    The parent class.

    Declaration

    Swift

    @inlinable
    var parentClass: GObjectClass { get }