Gio.EmblemedIcon¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | GObject.Object (37), Gio.Icon (6) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new(icon, emblem) | 
| add_emblem(emblem) | |
| clear_emblems() | |
| get_emblems() | |
| get_icon() | 
Virtual Methods¶
| Inherited: | GObject.Object (7), Gio.Icon (3) | 
|---|
Properties¶
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| gicon | Gio.Icon | r/w/co | The Gio.Iconto attach emblems to | 
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class Gio.EmblemedIcon(**kwargs)¶
- Bases: - GObject.Object,- Gio.Icon- Abstract: - No - Structure: - Gio.EmblemedIconClass- Gio.EmblemedIconis an implementation of- Gio.Iconthat supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured via- Gio.EmblemedIcon.add_emblem().- Note that - Gio.EmblemedIconallows no control over the position of the emblems. See also- Gio.Emblemfor more information.- 
classmethod new(icon, emblem)[source]¶
- Parameters: - icon (Gio.Icon) – aGio.Icon
- emblem (Gio.EmblemorNone) – aGio.Emblem, orNone
 - Returns: - a new - Gio.Icon- Return type: - Creates a new emblemed icon for icon with the emblem emblem. - New in version 2.18. 
- icon (
 - 
add_emblem(emblem)[source]¶
- Parameters: - emblem ( - Gio.Emblem) – a- Gio.Emblem- Adds emblem to the - GLib.Listof- Gio.Emblems.- New in version 2.18. 
 - 
get_emblems()[source]¶
- Returns: - a - GLib.Listof- Gio.Emblemsthat is owned by self- Return type: - [ - Gio.Emblem]- Gets the list of emblems for the icon. - New in version 2.18. 
 
- 
classmethod