TearoffMenuItemClassProtocol

public protocol TearoffMenuItemClassProtocol

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

  • ptr

    Untyped pointer to the underlying GtkTearoffMenuItemClass instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GtkTearoffMenuItemClass instance.

    Default Implementation

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

    Declaration

    Swift

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

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

TearoffMenuItemClass Record: TearoffMenuItemClassProtocol extension (methods and fields)

  • parentClass Extension method

    The parent class.

    Declaration

    Swift

    @inlinable
    var parentClass: GtkMenuItemClass { get }