Table of Contents

Class ActionMap

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class ActionMap
Inheritance
ActionMap
Inherited Members

Methods

AddAction(IntPtr, IntPtr)

Calls native method g_action_map_add_action. Version: 2.32

[Version("2.32")]
public static extern void AddAction(IntPtr actionMap, IntPtr action)

Parameters

actionMap IntPtr

Transfer ownership: None Nullable: False

action IntPtr

Transfer ownership: None Nullable: False

AddActionEntries(IntPtr, ActionEntryArrayHandle, int, IntPtr)

Calls native method g_action_map_add_action_entries. Version: 2.32

[Version("2.32")]
public static extern void AddActionEntries(IntPtr actionMap, ActionEntryArrayHandle entries, int nEntries, IntPtr userData)

Parameters

actionMap IntPtr

Transfer ownership: None Nullable: False

entries ActionEntryArrayHandle

Transfer ownership: None Nullable: False

nEntries int

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function g_action_map_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

LookupAction(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_action_map_lookup_action. Version: 2.32

[Version("2.32")]
public static extern IntPtr LookupAction(IntPtr actionMap, NonNullableUtf8StringHandle actionName)

Parameters

actionMap IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

RemoveAction(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_action_map_remove_action. Version: 2.32

[Version("2.32")]
public static extern void RemoveAction(IntPtr actionMap, NonNullableUtf8StringHandle actionName)

Parameters

actionMap IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

RemoveActionEntries(IntPtr, ActionEntryArrayHandle, int)

Calls native method g_action_map_remove_action_entries. Version: 2.78

[Version("2.78")]
public static extern void RemoveActionEntries(IntPtr actionMap, ActionEntryArrayHandle entries, int nEntries)

Parameters

actionMap IntPtr

Transfer ownership: None Nullable: False

entries ActionEntryArrayHandle

Transfer ownership: None Nullable: False

nEntries int

Transfer ownership: None Nullable: False