PropertyValuesProtocol
public protocol PropertyValuesProtocol
Note: old_value
field of AtkPropertyValues
will not contain a
valid value. This is a field defined with the purpose of contain
the previous value of the property, but is not used anymore.
The PropertyValuesProtocol
protocol exposes the methods and properties of an underlying AtkPropertyValues
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 PropertyValues
.
Alternatively, use PropertyValuesRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
AtkPropertyValues
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped pointer to the underlying
AtkPropertyValues
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
AtkPropertyValues
instance.Declaration
Swift
var _ptr: UnsafeMutablePointer<AtkPropertyValues>! { get }
-
Required Initialiser for types conforming to
PropertyValuesProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
propertyName
Extension methodThe name of the ATK property which has changed.
Declaration
Swift
@inlinable var propertyName: UnsafePointer<gchar>! { get set }
-
oldValue
Extension methodNULL. This field is not used anymore.
Declaration
Swift
@inlinable var oldValue: GValue { get set }
-
newValue
Extension methodThe new value of the named property.
Declaration
Swift
@inlinable var newValue: GValue { get set }