Package: gio

Function gio:icon-serialize

Lambda List

gio:icon-serialize (icon)

Arguments

icon -- a g:icon object

Return Value

The g:variant parameter, or nil when serialization fails. The g:variant parameter will not be floating.

Details

Serializes a g:icon object into a g:variant parameter. An equivalent g:icon object can be retrieved back by calling the g:icon-deserialize function on the returned value. As serialization will avoid using raw icon data when possible, it only makes sense to transfer the g:variant parameter between processes on the same machine, as opposed to over the network, and within the same file system namespace.
 

See also

2024-10-23