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.
-
Untyped pointer to the underlying
AtkUtilinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
util_ptrDefault implementationTyped pointer to the underlying
AtkUtilinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
AtkUtilinstance.Declaration
Swift
var util_ptr: UnsafeMutablePointer<AtkUtil>! { get } -
Required Initialiser for types conforming to
UtilProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
parentExtension methodUndocumented
Declaration
Swift
@inlinable var parent: GObject { get }
View on GitHub
Install in Dash
UtilProtocol Protocol Reference