Wrappers.Icontype t = [ `icon ] Gobject.objval from_gobject : 'a Gobject.obj -> tval to_string : t -> string optionGenerates 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 g_icon_new_for_string() to get @icon back from the returned string.
The encoding of the returned string is proprietary to #GIcon except in the following two cases
val serialize : t -> Gvariant.t optionSerializes a #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.
val hash : t -> intGets a hash for an icon.