RenderNode.writeToFile

This function is equivalent to calling gsk_render_node_serialize() followed by g_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.

class RenderNode
bool
writeToFile
(
string filename
)

Parameters

filename string

the file to save it to.

Return Value

Type: bool

%TRUE if saving was successful

Throws

GException on failure.

Meta