IconIF.serialize

Serializes a GIcon into a glib.Variant 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 glib.Variant between processes on the same machine, (as opposed to over the network), and within the same file system namespace.

interface IconIF
serialize
()

Return Value

Type: Variant

a glib.Variant, or NULL when serialization fails.

Meta

Since

2.38