UtilProtocol

public protocol UtilProtocol : ObjectProtocol

A set of ATK utility functions which are used to support event registration of various types, and obtaining the ‘root’ accessible of a process and information about the current ATK implementation and toolkit version.

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

  • ptr

    Untyped pointer to the underlying AtkUtil instance.

    Declaration

    Swift

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

    Typed pointer to the underlying AtkUtil instance.

    Default Implementation

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

    Declaration

    Swift

    var util_ptr: UnsafeMutablePointer<AtkUtil>! { get }
  • Required Initialiser for types conforming to UtilProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

Util Class: UtilProtocol extension (methods and fields)

  • parent Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var parent: GObject { get }