Table of Contents

Class ThemedIcon

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

Constructors

ThemedIcon(bool, params ConstructArgument[])

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

Parameters

owned bool
constructArguments ConstructArgument[]

ThemedIcon(IntPtr, bool)

protected ThemedIcon(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

NamesPropertyDefinition

public static readonly Property<string[], ThemedIcon> NamesPropertyDefinition

Field Value

Property<string[], ThemedIcon>

UseDefaultFallbacksPropertyDefinition

public static readonly Property<bool, ThemedIcon> UseDefaultFallbacksPropertyDefinition

Field Value

Property<bool, ThemedIcon>

Properties

Names

public string[] Names { get; }

Property Value

string[]

UseDefaultFallbacks

public bool UseDefaultFallbacks { get; }

Property Value

bool

Methods

AppendName(string)

public void AppendName(string iconname)

Parameters

iconname string

Equal(Icon?)

public bool Equal(Icon? icon2)

Parameters

icon2 Icon

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetNames()

public string[] GetNames()

Returns

string[]

Hash()

public uint Hash()

Returns

uint

New(string)

public static ThemedIcon New(string iconname)

Parameters

iconname string

Returns

ThemedIcon

NewFromNames(string[], int)

public static ThemedIcon NewFromNames(string[] iconnames, int len)

Parameters

iconnames string[]
len int

Returns

ThemedIcon

NewWithDefaultFallbacks(string)

public static ThemedIcon NewWithDefaultFallbacks(string iconname)

Parameters

iconname string

Returns

ThemedIcon

PrependName(string)

[Version("2.18")]
public void PrependName(string iconname)

Parameters

iconname string

Serialize()

[Version("2.38")]
public Variant? Serialize()

Returns

Variant

ToString()

[Version("2.20")]
public string? ToString()

Returns

string