Table of Contents

Class Shortcut

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class Shortcut
Inheritance
Shortcut
Inherited Members

Methods

GetAction(IntPtr)

Calls native method gtk_shortcut_get_action.

public static extern IntPtr GetAction(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetArguments(IntPtr)

Calls native method gtk_shortcut_get_arguments.

public static extern VariantUnownedHandle GetArguments(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

VariantUnownedHandle

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_shortcut_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetTrigger(IntPtr)

Calls native method gtk_shortcut_get_trigger.

public static extern IntPtr GetTrigger(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

New(IntPtr, IntPtr)

Calls native constructor gtk_shortcut_new.

public static extern IntPtr New(IntPtr trigger, IntPtr action)

Parameters

trigger IntPtr

Transfer ownership: Full Nullable: True

action IntPtr

Transfer ownership: Full Nullable: True

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetAction(IntPtr, IntPtr)

Calls native method gtk_shortcut_set_action.

public static extern void SetAction(IntPtr self, IntPtr action)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

action IntPtr

Transfer ownership: Full Nullable: True

SetArguments(IntPtr, VariantHandle)

Calls native method gtk_shortcut_set_arguments.

public static extern void SetArguments(IntPtr self, VariantHandle args)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

args VariantHandle

Transfer ownership: None Nullable: True

SetTrigger(IntPtr, IntPtr)

Calls native method gtk_shortcut_set_trigger.

public static extern void SetTrigger(IntPtr self, IntPtr trigger)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

trigger IntPtr

Transfer ownership: Full Nullable: True