ConstraintTargetProtocol
public protocol ConstraintTargetProtocol
The GtkConstraintTarget interface is implemented by objects that
can be used as source or target in GtkConstraints.
Besides GtkWidget, it is also implemented by GtkConstraintGuide.
The ConstraintTargetProtocol protocol exposes the methods and properties of an underlying GtkConstraintTarget 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 ConstraintTarget.
Alternatively, use ConstraintTargetRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkConstraintTargetinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
constraint_target_ptrDefault implementationTyped pointer to the underlying
GtkConstraintTargetinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkConstraintTargetinstance.Declaration
Swift
var constraint_target_ptr: UnsafeMutablePointer<GtkConstraintTarget>! { get } -
Required Initialiser for types conforming to
ConstraintTargetProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
View on GitHub
Install in Dash
ConstraintTargetProtocol Protocol Reference