[ CCode ( has_construct_function = false ) ]
public FileLoader (Buffer buffer, File file)
Creates a new `GtkSourceFileLoader` object.
The contents is read from the [class@File]'s location.
If not already done, call [[email protected]_location] before calling this constructor. The previous location is anyway not needed, because
as soon as the file loading begins, the buffer
is emptied.
buffer |
the Buffer to load the contents into. |
file |
the File. |
a new FileLoader object. |