close


Description:

[ Version ( deprecated = true , deprecated_since = "2.46." ) ]
public bool close () throws Error

Warning: close is deprecated since 2.46..

This is used after calling [method@Rsvg.

Note:

Use [[email protected]_stream_sync] or the constructor functions [[email protected]_from_gfile_sync] or [ [email protected]_from_stream_sync]. See the deprecation notes for [[email protected]] 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 [[email protected]] to feed data into the this; if you use the other methods like [[email protected]_from_file] or [[email protected]_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 [[email protected]] is called.

Parameters:

this

a [[email protected]]

Returns:

`TRUE` on success, or `FALSE` on error.




2022 vala-language.org