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
constructArgumentsConstructArgument[]
EmblemedIcon(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected EmblemedIcon(CreationData data)
Parameters
dataCreationData
EmblemedIcon(EmblemedIconHandle)
protected EmblemedIcon(EmblemedIconHandle handle)
Parameters
handleEmblemedIconHandle
Fields
GiconPropertyDefinition
public static readonly Property<Icon, EmblemedIcon> GiconPropertyDefinition
Field Value
Properties
Gicon
public Icon Gicon { get; }
Property Value
Methods
AddEmblem(Emblem)
[Version("2.18")]
public void AddEmblem(Emblem emblem)
Parameters
emblemEmblem
ClearEmblems()
[Version("2.28")]
public void ClearEmblems()
Equal(Icon?)
public bool Equal(Icon? icon2)
Parameters
icon2Icon
Returns
GetEmblems()
[Version("2.18")]
public List GetEmblems()
Returns
GetGType()
public static Type GetGType()
Returns
GetIcon()
[Version("2.18")]
public Icon GetIcon()
Returns
Hash()
public uint Hash()
Returns
New(Icon, Emblem?)
[Version("2.18")]
public static EmblemedIcon New(Icon icon, Emblem? emblem)
Parameters
Returns
NewFromPointer(nint, bool)
Creates a new managed EmblemedIcon instance for a given pointer.
public static EmblemedIcon NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new EmblemedIcon and sets the properties specified by the construct arguments.
public static EmblemedIcon NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Serialize()
[Version("2.38")]
public Variant? Serialize()
Returns
ToString()
[Version("2.20")]
public string? ToString()