Package: gtk

Function gtk:svg-serialize

Lambda List

gtk:svg-serialize (svg)

Arguments

svg -- a gtk:svg object

Return Value

The g:bytes instance for the SVG data.

Details

Serializes the content of the renderer as SVG. The SVG will be similar to the orignally loaded one, but is not guaranteed to be 100% identical.

This function serializes the DOM, that is, the results of parsing the SVG. It does not reflect the effect of applying animations.

Since 4.22
 

See also

2026-11-05