Table of Contents

Class Action

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

Methods

Activate(IntPtr, VariantHandle)

Calls native method g_action_activate. Version: 2.28

[Version("2.28")]
public static extern void Activate(IntPtr action, VariantHandle parameter)

Parameters

action IntPtr

Transfer ownership: None Nullable: False

parameter VariantHandle

Transfer ownership: None Nullable: True

ChangeState(IntPtr, VariantHandle)

Calls native method g_action_change_state. Version: 2.30

[Version("2.30")]
public static extern void ChangeState(IntPtr action, VariantHandle value)

Parameters

action IntPtr

Transfer ownership: None Nullable: False

value VariantHandle

Transfer ownership: None Nullable: False

GetEnabled(IntPtr)

Calls native method g_action_get_enabled. Version: 2.28

[Version("2.28")]
public static extern bool GetEnabled(IntPtr action)

Parameters

action IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_action_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetName(IntPtr)

Calls native method g_action_get_name. Version: 2.28

[Version("2.28")]
public static extern NonNullableUtf8StringUnownedHandle GetName(IntPtr action)

Parameters

action IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetParameterType(IntPtr)

Calls native method g_action_get_parameter_type. Version: 2.28

[Version("2.28")]
public static extern VariantTypeUnownedHandle GetParameterType(IntPtr action)

Parameters

action IntPtr

Transfer ownership: None Nullable: False

Returns

VariantTypeUnownedHandle

Transfer ownership: None Nullable: True

GetState(IntPtr)

Calls native method g_action_get_state. Version: 2.28

[Version("2.28")]
public static extern VariantOwnedHandle GetState(IntPtr action)

Parameters

action IntPtr

Transfer ownership: None Nullable: False

Returns

VariantOwnedHandle

Transfer ownership: Full Nullable: True

GetStateHint(IntPtr)

Calls native method g_action_get_state_hint. Version: 2.28

[Version("2.28")]
public static extern VariantOwnedHandle GetStateHint(IntPtr action)

Parameters

action IntPtr

Transfer ownership: None Nullable: False

Returns

VariantOwnedHandle

Transfer ownership: Full Nullable: True

GetStateType(IntPtr)

Calls native method g_action_get_state_type. Version: 2.28

[Version("2.28")]
public static extern VariantTypeUnownedHandle GetStateType(IntPtr action)

Parameters

action IntPtr

Transfer ownership: None Nullable: False

Returns

VariantTypeUnownedHandle

Transfer ownership: None Nullable: True

NameIsValid(NonNullableUtf8StringHandle)

Calls native function g_action_name_is_valid. Version: 2.38

[Version("2.38")]
public static extern bool NameIsValid(NonNullableUtf8StringHandle actionName)

Parameters

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

PrintDetailedName(NonNullableUtf8StringHandle, VariantHandle)

Calls native function g_action_print_detailed_name. Version: 2.38

[Version("2.38")]
public static extern NonNullableUtf8StringOwnedHandle PrintDetailedName(NonNullableUtf8StringHandle actionName, VariantHandle targetValue)

Parameters

actionName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

targetValue VariantHandle

Transfer ownership: None Nullable: True

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False