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