Table of Contents

Class ActionGroup

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

Methods

ActionAdded(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_action_group_action_added. Version: 2.28

[Version("2.28")]
public static extern void ActionAdded(IntPtr actionGroup, NonNullableUtf8StringHandle actionName)

Parameters

actionGroup IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

ActionEnabledChanged(IntPtr, NonNullableUtf8StringHandle, bool)

Calls native method g_action_group_action_enabled_changed. Version: 2.28

[Version("2.28")]
public static extern void ActionEnabledChanged(IntPtr actionGroup, NonNullableUtf8StringHandle actionName, bool enabled)

Parameters

actionGroup IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

enabled bool

Transfer ownership: None Nullable: False

ActionRemoved(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_action_group_action_removed. Version: 2.28

[Version("2.28")]
public static extern void ActionRemoved(IntPtr actionGroup, NonNullableUtf8StringHandle actionName)

Parameters

actionGroup IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

ActionStateChanged(IntPtr, NonNullableUtf8StringHandle, VariantHandle)

Calls native method g_action_group_action_state_changed. Version: 2.28

[Version("2.28")]
public static extern void ActionStateChanged(IntPtr actionGroup, NonNullableUtf8StringHandle actionName, VariantHandle state)

Parameters

actionGroup IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

state VariantHandle

Transfer ownership: None Nullable: False

ActivateAction(IntPtr, NonNullableUtf8StringHandle, VariantHandle)

Calls native method g_action_group_activate_action. Version: 2.28

[Version("2.28")]
public static extern void ActivateAction(IntPtr actionGroup, NonNullableUtf8StringHandle actionName, VariantHandle parameter)

Parameters

actionGroup IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

parameter VariantHandle

Transfer ownership: None Nullable: True

ChangeActionState(IntPtr, NonNullableUtf8StringHandle, VariantHandle)

Calls native method g_action_group_change_action_state. Version: 2.28

[Version("2.28")]
public static extern void ChangeActionState(IntPtr actionGroup, NonNullableUtf8StringHandle actionName, VariantHandle value)

Parameters

actionGroup IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

value VariantHandle

Transfer ownership: None Nullable: False

GetActionEnabled(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_action_group_get_action_enabled. Version: 2.28

[Version("2.28")]
public static extern bool GetActionEnabled(IntPtr actionGroup, NonNullableUtf8StringHandle actionName)

Parameters

actionGroup IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetActionParameterType(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_action_group_get_action_parameter_type. Version: 2.28

[Version("2.28")]
public static extern VariantTypeUnownedHandle GetActionParameterType(IntPtr actionGroup, NonNullableUtf8StringHandle actionName)

Parameters

actionGroup IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

VariantTypeUnownedHandle

Transfer ownership: None Nullable: True

GetActionState(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_action_group_get_action_state. Version: 2.28

[Version("2.28")]
public static extern VariantOwnedHandle GetActionState(IntPtr actionGroup, NonNullableUtf8StringHandle actionName)

Parameters

actionGroup IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

VariantOwnedHandle

Transfer ownership: Full Nullable: True

GetActionStateHint(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_action_group_get_action_state_hint. Version: 2.28

[Version("2.28")]
public static extern VariantOwnedHandle GetActionStateHint(IntPtr actionGroup, NonNullableUtf8StringHandle actionName)

Parameters

actionGroup IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

VariantOwnedHandle

Transfer ownership: Full Nullable: True

GetActionStateType(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_action_group_get_action_state_type. Version: 2.28

[Version("2.28")]
public static extern VariantTypeUnownedHandle GetActionStateType(IntPtr actionGroup, NonNullableUtf8StringHandle actionName)

Parameters

actionGroup IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

VariantTypeUnownedHandle

Transfer ownership: None Nullable: True

GetGType()

Calls native function g_action_group_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

HasAction(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_action_group_has_action. Version: 2.28

[Version("2.28")]
public static extern bool HasAction(IntPtr actionGroup, NonNullableUtf8StringHandle actionName)

Parameters

actionGroup IntPtr

Transfer ownership: None Nullable: False

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ListActions(IntPtr)

Calls native method g_action_group_list_actions. Version: 2.28

[Version("2.28")]
public static extern Utf8StringArrayNullTerminatedOwnedHandle ListActions(IntPtr actionGroup)

Parameters

actionGroup IntPtr

Transfer ownership: None Nullable: False

Returns

Utf8StringArrayNullTerminatedOwnedHandle

Transfer ownership: Full Nullable: False