[ Version ( since = "1.50" ) ]
public bool write_to_file (LayoutSerializeFlags flags, string filename) throws Error
A convenience method to serialize a layout to a file.
It is equivalent to calling [[email protected]] followed by [[email protected]_set_contents].
See those two functions for details on the arguments.
It is mostly intended for use inside a debugger to quickly dump a layout to a file for later inspection.
this |
a `PangoLayout` |
flags |
`PangoLayoutSerializeFlags` |
filename |
the file to save it to |
true if saving was successful |