Class PropertyAnimationTarget
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class PropertyAnimationTarget : AnimationTarget, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
PropertyAnimationTarget
- Implements
- Inherited Members
Constructors
PropertyAnimationTarget(PropertyAnimationTargetHandle)
protected PropertyAnimationTarget(PropertyAnimationTargetHandle handle)
Parameters
PropertyAnimationTarget(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public PropertyAnimationTarget(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
PropertyAnimationTarget(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected PropertyAnimationTarget(CreationData data)
Parameters
dataCreationData
Fields
ObjectPropertyDefinition
public static readonly Property<Object?, PropertyAnimationTarget> ObjectPropertyDefinition
Field Value
PspecPropertyDefinition
public static readonly Property<ParamSpec?, PropertyAnimationTarget> PspecPropertyDefinition
Field Value
Properties
Object
public Object? Object { get; }
Property Value
Pspec
public ParamSpec? Pspec { get; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
GetObject()
[Version("1.2")]
public Object GetObject()
Returns
GetPspec()
[Version("1.2")]
public ParamSpec GetPspec()
Returns
New(Object, string)
[Version("1.2")]
public static PropertyAnimationTarget New(Object @object, string propertyName)
Parameters
Returns
NewForPspec(Object, ParamSpec)
[Version("1.2")]
public static PropertyAnimationTarget NewForPspec(Object @object, ParamSpec pspec)
Parameters
Returns
NewFromPointer(nint, bool)
Creates a new managed PropertyAnimationTarget instance for a given pointer.
public static PropertyAnimationTarget NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new PropertyAnimationTarget and sets the properties specified by the construct arguments.
public static PropertyAnimationTarget NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.