gio.IconInterface for icons.Synopsisgio.Icongobject.GInterfaceequalicon2Ancestry+-- gobject.GInterface
+-- gio.Icon
Known Derived Interfacesgio.Icon is required by
gio.LoadableIcon.
Known Implementationgio.Icon is implemented by
gio.ThemedIcon,
gio.FileIcon,
gio.Emblem,
gio.EmblemedIcon.
Descriptiongio.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),
or the path to an icon (see
gio.LoadableIcon).
To check if two GIcons are equal, see
gio.Icon.equal().
Methodsgio.Icon.equalequalicon2icon2 :the second
gio.Icon
The equal() method checks if two icons are equal.