RenderNode.writeToFile

bool writeToFile(string filename)

This function is equivalent to calling [gsk.render_node.RenderNode.serialize] followed by funcGLib.file_set_contents.

See those two functions for details on the arguments.

It is mostly intended for use inside a debugger to quickly dump a render node to a file for later inspection.

Parameters

filenamethe file to save it to.

Returns

true if saving was successful

Throws

[ErrorWrap]