Table of Contents

Class PropertyAction

Namespace
Gio
Assembly
Gio-2.0.dll
public class PropertyAction : Object, IDisposable, Action, GTypeProvider, InstanceFactory
Inheritance
PropertyAction
Implements
Inherited Members

Constructors

PropertyAction(params ConstructArgument[])

public PropertyAction(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

PropertyAction(PropertyActionHandle)

public PropertyAction(PropertyActionHandle handle)

Parameters

handle PropertyActionHandle

Fields

EnabledPropertyDefinition

public static readonly Property<bool, PropertyAction> EnabledPropertyDefinition

Field Value

Property<bool, PropertyAction>

InvertBooleanPropertyDefinition

public static readonly Property<bool, PropertyAction> InvertBooleanPropertyDefinition

Field Value

Property<bool, PropertyAction>

NamePropertyDefinition

public static readonly Property<string?, PropertyAction> NamePropertyDefinition

Field Value

Property<string, PropertyAction>

ParameterTypePropertyDefinition

public static readonly Property<VariantType, PropertyAction> ParameterTypePropertyDefinition

Field Value

Property<VariantType, PropertyAction>

StateTypePropertyDefinition

public static readonly Property<VariantType, PropertyAction> StateTypePropertyDefinition

Field Value

Property<VariantType, PropertyAction>

Properties

Enabled

public bool Enabled { get; }

Property Value

bool

InvertBoolean

public bool InvertBoolean { 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

New(string, Object, string)

[Version("2.38")]
public static PropertyAction New(string name, Object @object, string propertyName)

Parameters

name string
object Object
propertyName string

Returns

PropertyAction