Creates a new icon for a file.
GFile associated with the given
Methods inherited from GIcon (4)
Checks if two icons are equal.
Gets a hash for an icon.
GIcon into a
GVariant. An equivalent
GIcon can be retrieved
back by calling
g_icon_deserialize() on the returned value.
As serialization will avoid using raw icon data when possible, it only
makes sense to transfer the
GVariant between processes on the same machine,
(as opposed to over the network), and within the same file system namespace.
Generates a textual representation of
icon that can be used for
serialization such as when passing
icon to a different process or
saving it to persistent storage. Use
icon back from the returned string.
Methods inherited from GLoadableIcon (3)
Loads a loadable icon. For the asynchronous version of this function, see g_loadable_icon_load_async().
Loads an icon asynchronously. To finish this function, see g_loadable_icon_load_finish(). For the synchronous, blocking version of this function, see g_loadable_icon_load().
Finishes an asynchronous icon load started in g_loadable_icon_load_async().
The file containing the icon.