Handle.from_file


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.14" ) ]
public Handle.from_file (string filename) throws Error

Loads the SVG specified by file_name.

Note that this function, like [[email protected]], does not specify any loading flags for the resulting handle. If you require the use of [[email protected]], use [[email protected]_from_gfile_sync].

Parameters:

filename

The file name to load, or a URI.

Returns:

A [[email protected]] or `NULL` if an error occurs.




2022 vala-language.org