FileLoader
Creates a new GtkSourceFileLoader
object. The contents is read from the class@File's location.
If not already done, call method@File.set_location before calling this constructor. The previous location is anyway not needed, because as soon as the file loading begins, the @buffer is emptied.
Return
a new #GtkSourceFileLoader object.
Parameters
buffer
the #GtkSourceBuffer to load the contents into.
file
the #GtkSourceFile.
Creates a new #GtkSourceFileLoader object. The contents is read from @stream.
Return
a new #GtkSourceFileLoader object.
Parameters
buffer
the #GtkSourceBuffer to load the contents into.
file
the #GtkSourceFile.
stream
the #GInputStream to load, e.g. stdin.
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)