BuildableIfaceProtocol
public protocol BuildableIfaceProtocol
The GtkBuildableIface
interface contains methods that are
necessary to allow GtkBuilder
to construct an object from
a GtkBuilder
UI definition.
The BuildableIfaceProtocol
protocol exposes the methods and properties of an underlying GtkBuildableIface
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 BuildableIface
.
Alternatively, use BuildableIfaceRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkBuildableIface
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped pointer to the underlying
GtkBuildableIface
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkBuildableIface
instance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GtkBuildableIface>! { get }
-
Required Initialiser for types conforming to
BuildableIfaceProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
gIface
Extension methodthe parent class
Declaration
Swift
@inlinable var gIface: GTypeInterface { get }