Gio.EmblemedIcon¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Gio.EmblemedIcon(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Gio.EmblemedIcon
is an implementation ofGio.Icon
that supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured viaGio.EmblemedIcon.add_emblem
().Note that
Gio.EmblemedIcon
allows no control over the position of the emblems. See alsoGio.Emblem
for more information.- classmethod new(icon, emblem)[source]¶
- Parameters:
emblem (
Gio.Emblem
orNone
) – 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.
- add_emblem(emblem)[source]¶
- Parameters:
emblem (
Gio.Emblem
) – aGio.Emblem
Adds emblem to the
GLib.List
ofGio.Emblems
.New in version 2.18.
- get_emblems()[source]¶
- Returns:
a
GLib.List
ofGio.Emblems
that is owned by self- Return type:
Gets the list of emblems for the icon.
New in version 2.18.