Table of Contents

Class ShortcutAction

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

Methods

Activate(IntPtr, ShortcutActionFlags, IntPtr, VariantHandle)

Calls native method gtk_shortcut_action_activate.

public static extern bool Activate(IntPtr self, ShortcutActionFlags flags, IntPtr widget, VariantHandle args)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

flags ShortcutActionFlags

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

args VariantHandle

Transfer ownership: None Nullable: True

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_shortcut_action_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

ParseString(NonNullableUtf8StringHandle)

Calls native constructor gtk_shortcut_action_parse_string.

public static extern IntPtr ParseString(NonNullableUtf8StringHandle @string)

Parameters

string NonNullableUtf8StringHandle

Returns

IntPtr

Transfer ownership: Full Nullable: True

Print(IntPtr, StringHandle)

Calls native method gtk_shortcut_action_print.

public static extern void Print(IntPtr self, StringHandle @string)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

string StringHandle

ToString(IntPtr)

Calls native method gtk_shortcut_action_to_string.

public static extern NonNullableUtf8StringOwnedHandle ToString(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False