Table of Contents

Class ActivateAction

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class ActivateAction : ShortcutAction, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
ActivateAction
Implements
Inherited Members

Constructors

ActivateAction(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 ActivateAction(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

ActivateAction(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ActivateAction(CreationData data)

Parameters

data CreationData

ActivateAction(ActivateActionHandle)

protected ActivateAction(ActivateActionHandle handle)

Parameters

handle ActivateActionHandle

Methods

Get()

public static ShortcutAction Get()

Returns

ShortcutAction

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed ActivateAction instance for a given pointer.

public static ActivateAction NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

ActivateAction

NewWithProperties(ConstructArgument[])

Creates a new ActivateAction and sets the properties specified by the construct arguments.

public static ActivateAction NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

ActivateAction