Table of Contents

Class Application

Namespace
Adw
Assembly
Adw-1.dll
public class Application : Application, IObject, INotifyPropertyChanged, IDisposable, ActionGroup, ActionMap, IHandle, GTypeProvider
Inheritance
Application
Implements
Inherited Members

Constructors

Application(bool, params ConstructArgument[])

protected Application(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

Application(IntPtr, bool)

protected Application(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

StyleManagerPropertyDefinition

public static readonly Property<StyleManager?, Application> StyleManagerPropertyDefinition

Field Value

Property<StyleManager, Application>

Properties

StyleManager

public StyleManager? StyleManager { get; }

Property Value

StyleManager

Methods

ActionAdded(string)

[Version("2.28")]
public void ActionAdded(string actionName)

Parameters

actionName string

ActionEnabledChanged(string, bool)

[Version("2.28")]
public void ActionEnabledChanged(string actionName, bool enabled)

Parameters

actionName string
enabled bool

ActionRemoved(string)

[Version("2.28")]
public void ActionRemoved(string actionName)

Parameters

actionName string

ActionStateChanged(string, Variant)

[Version("2.28")]
public void ActionStateChanged(string actionName, Variant state)

Parameters

actionName string
state Variant

ActivateAction(string, Variant?)

[Version("2.28")]
public void ActivateAction(string actionName, Variant? parameter)

Parameters

actionName string
parameter Variant

AddAction(Action)

[Version("2.32")]
public void AddAction(Action action)

Parameters

action Action

AddActionEntries(ActionEntry[], IntPtr)

[Version("2.32")]
public void AddActionEntries(ActionEntry[] entries, IntPtr userData)

Parameters

entries ActionEntry[]
userData IntPtr

ChangeActionState(string, Variant)

[Version("2.28")]
public void ChangeActionState(string actionName, Variant value)

Parameters

actionName string
value Variant

GetActionEnabled(string)

[Version("2.28")]
public bool GetActionEnabled(string actionName)

Parameters

actionName string

Returns

bool

GetActionParameterType(string)

[Version("2.28")]
public VariantType? GetActionParameterType(string actionName)

Parameters

actionName string

Returns

VariantType

GetActionState(string)

[Version("2.28")]
public Variant? GetActionState(string actionName)

Parameters

actionName string

Returns

Variant

GetActionStateHint(string)

[Version("2.28")]
public Variant? GetActionStateHint(string actionName)

Parameters

actionName string

Returns

Variant

GetActionStateType(string)

[Version("2.28")]
public VariantType? GetActionStateType(string actionName)

Parameters

actionName string

Returns

VariantType

GetGType()

public static Type GetGType()

Returns

Type

GetStyleManager()

public StyleManager GetStyleManager()

Returns

StyleManager

HasAction(string)

[Version("2.28")]
public bool HasAction(string actionName)

Parameters

actionName string

Returns

bool

ListActions()

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

Returns

string[]

LookupAction(string)

[Version("2.32")]
public Action? LookupAction(string actionName)

Parameters

actionName string

Returns

Action

New(string?, ApplicationFlags)

public static Application New(string? applicationId, ApplicationFlags flags)

Parameters

applicationId string
flags ApplicationFlags

Returns

Application

RemoveAction(string)

[Version("2.32")]
public void RemoveAction(string actionName)

Parameters

actionName string

RemoveActionEntries(ActionEntry[])

[Version("2.78")]
public void RemoveActionEntries(ActionEntry[] entries)

Parameters

entries ActionEntry[]