gio.Icon — Interface for icons.
gio.Icon
is implemented by
gio.ThemedIcon
gio.FileIcon
,
gio.Emblem
,
gio.EmblemedIcon
.
gio.Icon
is a very minimal interface for icons. It provides functions for checking
the equality of two icons, hashing of icons and serializing an icon to and from strings.
gio.Icon
does not provide the actual pixmap for the icon as this is out of GIO's
scope, however implementations of
gio.Icon
may contain the name of an icon (see
gio.ThemedIcon
gio.LoadableIcon
To check if two GIcons are equal, see
gio.Icon.equal
().
def equal(icon2
)
| the second
gio.Icon
|
The equal
() method checks if two icons are equal.