EmblemedIcon

class EmblemedIcon(**properties: Any)

Superclasses: Object

Implemented Interfaces: Icon

GEmblemedIcon is an implementation of Icon that supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured via add_emblem.

Note that GEmblemedIcon allows no control over the position of the emblems. See also Emblem for more information.

Constructors

class EmblemedIcon
classmethod new(icon: Icon, emblem: Emblem | None = None) EmblemedIcon

Creates a new emblemed icon for icon with the emblem emblem.

Added in version 2.18.

Parameters:

Methods

class EmblemedIcon
add_emblem(emblem: Emblem) None

Adds emblem to the List of Emblem.

Added in version 2.18.

Parameters:

emblem – a Emblem

clear_emblems() None

Removes all the emblems from icon.

Added in version 2.28.

get_emblems() list[Emblem]

Gets the list of emblems for the icon.

Added in version 2.18.

get_icon() Icon

Gets the main icon for emblemed.

Added in version 2.18.

Properties

class EmblemedIcon
props.gicon: Icon

The Icon to attach emblems to.

Added in version 2.18.

Fields

class EmblemedIcon
parent_instance
priv