Table of Contents

Class ActionHelper

Namespace
Gio
Assembly
Gio-2.0.dll
public sealed class ActionHelper : Object, IObject, INotifyPropertyChanged, IDisposable, Action, IHandle, GTypeProvider
Inheritance
ActionHelper
Implements
Inherited Members

Constructors

ActionHelper(IntPtr, bool)

public ActionHelper(IntPtr handle, bool ownedRef)

Parameters

handle IntPtr
ownedRef bool

Properties

Enabled

public bool Enabled { get; }

Property Value

bool

Name

public string? Name { get; }

Property Value

string

ParameterType

public VariantType ParameterType { get; }

Property Value

VariantType

StateType

public VariantType StateType { get; }

Property Value

VariantType

Methods

Activate(Variant?)

[Version("2.28")]
public void Activate(Variant? parameter)

Parameters

parameter Variant

ChangeState(Variant)

[Version("2.30")]
public void ChangeState(Variant value)

Parameters

value Variant

GetEnabled()

[Version("2.28")]
public bool GetEnabled()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetName()

[Version("2.28")]
public string GetName()

Returns

string

GetParameterType()

[Version("2.28")]
public VariantType? GetParameterType()

Returns

VariantType

GetState()

[Version("2.28")]
public Variant? GetState()

Returns

Variant

GetStateHint()

[Version("2.28")]
public Variant? GetStateHint()

Returns

Variant

GetStateType()

[Version("2.28")]
public VariantType? GetStateType()

Returns

VariantType

NameIsValid(string)

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

Parameters

actionName string

Returns

bool

PrintDetailedName(string, Variant?)

[Version("2.38")]
public static string PrintDetailedName(string actionName, Variant? targetValue)

Parameters

actionName string
targetValue Variant

Returns

string