FileLoader.this

this(void * ptr, Flag!"Take" take) nothrow
No documentation available for this declaration.
this(gtksource.buffer.Buffer buffer, gtksource.file.File file) nothrow

Creates a new gtksource.file_loader.FileLoader object. The contents is read from the gtksource.file.File's location.

If not already done, call gtksource.file.File.setLocation before calling this constructor. The previous location is anyway not needed, because as soon as the file loading begins, the buffer is emptied.

Parameters

bufferthe #GtkSourceBuffer to load the contents into.
filethe #GtkSourceFile.

Returns

a new #GtkSourceFileLoader object.