Class MnemonicTrigger
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class MnemonicTrigger : ShortcutTrigger, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
MnemonicTrigger
- Implements
- Inherited Members
Constructors
MnemonicTrigger(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 MnemonicTrigger(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
MnemonicTrigger(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected MnemonicTrigger(CreationData data)
Parameters
dataCreationData
MnemonicTrigger(MnemonicTriggerHandle)
protected MnemonicTrigger(MnemonicTriggerHandle handle)
Parameters
handleMnemonicTriggerHandle
Fields
KeyvalPropertyDefinition
public static readonly Property<uint, MnemonicTrigger> KeyvalPropertyDefinition
Field Value
Properties
Keyval
public uint Keyval { get; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
GetKeyval()
public uint GetKeyval()
Returns
New(uint)
public static MnemonicTrigger New(uint keyval)
Parameters
keyvaluint
Returns
NewFromPointer(nint, bool)
Creates a new managed MnemonicTrigger instance for a given pointer.
public static MnemonicTrigger NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new MnemonicTrigger and sets the properties specified by the construct arguments.
public static MnemonicTrigger NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.