FileLoader.this

Creates a new #GtkSourceFileLoader object. The contents is read from the #GtkSourceFile'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.

  1. this(void* ptr, Flag!"Take" take)
  2. this(gtksource.buffer.Buffer buffer, gtksource.file.File file)

Parameters

buffer gtksource.buffer.Buffer

the #GtkSourceBuffer to load the contents into.

file gtksource.file.File

the #GtkSourceFile.

Return Value

a new #GtkSourceFileLoader object.