Table of Contents

Class MnemonicAction

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

MnemonicAction(CreationData)

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

Parameters

data CreationData

MnemonicAction(MnemonicActionHandle)

protected MnemonicAction(MnemonicActionHandle handle)

Parameters

handle MnemonicActionHandle

Methods

Get()

public static ShortcutAction Get()

Returns

ShortcutAction

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed MnemonicAction instance for a given pointer.

public static MnemonicAction NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

MnemonicAction

NewWithProperties(ConstructArgument[])

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

public static MnemonicAction NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

MnemonicAction