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
.
- Parameters:
-
Methods
-
class EmblemedIcon
-
add_emblem(emblem: Emblem) → None
Adds emblem
to the List
of Emblem
.
- Parameters:
emblem – a Emblem
-
clear_emblems() → None
Removes all the emblems from icon
.
-
get_emblems() → list[Emblem]
Gets the list of emblems for the icon
.
-
get_icon() → Icon
Gets the main icon for emblemed
.
Properties
-
class EmblemedIcon
-
props.gicon: Icon
The Icon
to attach emblems to.
Fields
-
class EmblemedIcon
-
parent_instance
-
priv