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