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:
GEmblemedIcon
is 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
GEmblemedIcon
allows no control over the position of the emblems. See also [class`Gio`.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.