Class CallbackAnimationTarget
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class CallbackAnimationTarget : AnimationTarget, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
CallbackAnimationTarget
- Implements
- Inherited Members
Constructors
CallbackAnimationTarget(CallbackAnimationTargetHandle)
protected CallbackAnimationTarget(CallbackAnimationTargetHandle handle)
Parameters
CallbackAnimationTarget(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 CallbackAnimationTarget(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
CallbackAnimationTarget(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected CallbackAnimationTarget(CreationData data)
Parameters
dataCreationData
Methods
GetGType()
public static Type GetGType()
Returns
New(AnimationTargetFunc)
public static CallbackAnimationTarget New(AnimationTargetFunc callback)
Parameters
callbackAnimationTargetFuncA callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).
Returns
NewFromPointer(nint, bool)
Creates a new managed CallbackAnimationTarget instance for a given pointer.
public static CallbackAnimationTarget NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new CallbackAnimationTarget and sets the properties specified by the construct arguments.
public static CallbackAnimationTarget NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.