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