close
Description:
Warning: close is deprecated since 2.46..
This is used after calling [method@Rsvg.
Use [method@Rsvg.Handle.read_stream_sync] or the constructor functions [ctor@Rsvg.Handle.new_from_gfile_sync] or [ ctor@Rsvg.Handle.new_from_stream_sync]. See the deprecation notes for [method@Rsvg.Handle.write] for more information.
Handle.write] to indicate that there is no more data to consume, and to start the actual parsing of the SVG document. The only reason to call this function is if you use use [method@Rsvg.Handle.write] to feed data into the this; if you use the other methods like [ctor@Rsvg.Handle.new_from_file] or [method@Rsvg.Handle.read_stream_sync], then you do not need to call this function.
This will return `TRUE` if the loader closed successfully and the SVG data was parsed correctly. Note that this isn't freed until [method@GObject.Object.unref] is called.
Parameters:
this |
a [class@Rsvg.Handle] |
Returns:
`TRUE` on success, or `FALSE` on error. |