Table of Contents

Class EmblemedIcon

Namespace
Gio
Assembly
Gio-2.0.dll
public class EmblemedIcon : Object, Icon, NativeObject, IDisposable, GTypeProvider, InstanceFactory
Inheritance
EmblemedIcon
Implements
Inherited Members

Constructors

EmblemedIcon(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public EmblemedIcon(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

EmblemedIcon(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected EmblemedIcon(CreationData data)

Parameters

data CreationData

EmblemedIcon(EmblemedIconHandle)

protected EmblemedIcon(EmblemedIconHandle handle)

Parameters

handle EmblemedIconHandle

Fields

GiconPropertyDefinition

public static readonly Property<Icon, EmblemedIcon> GiconPropertyDefinition

Field Value

Property<Icon, EmblemedIcon>

Properties

Gicon

public Icon Gicon { get; }

Property Value

Icon

Methods

AddEmblem(Emblem)

[Version("2.18")]
public void AddEmblem(Emblem emblem)

Parameters

emblem Emblem

ClearEmblems()

[Version("2.28")]
public void ClearEmblems()

Equal(Icon?)

public bool Equal(Icon? icon2)

Parameters

icon2 Icon

Returns

bool

GetEmblems()

[Version("2.18")]
public List GetEmblems()

Returns

List

GetGType()

public static Type GetGType()

Returns

Type

GetIcon()

[Version("2.18")]
public Icon GetIcon()

Returns

Icon

Hash()

public uint Hash()

Returns

uint

New(Icon, Emblem?)

[Version("2.18")]
public static EmblemedIcon New(Icon icon, Emblem? emblem)

Parameters

icon Icon
emblem Emblem

Returns

EmblemedIcon

NewFromPointer(nint, bool)

Creates a new managed EmblemedIcon instance for a given pointer.

public static EmblemedIcon NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

EmblemedIcon

NewWithProperties(ConstructArgument[])

Creates a new EmblemedIcon and sets the properties specified by the construct arguments.

public static EmblemedIcon NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

EmblemedIcon

Serialize()

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

Returns

Variant

ToString()

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

Returns

string