FileLoader.newFromStream

Creates a new #GtkSourceFileLoader object. The contents is read from stream.

Parameters

buffer gtksource.buffer.Buffer

the #GtkSourceBuffer to load the contents into.

file gtksource.file.File

the #GtkSourceFile.

stream gio.input_stream.InputStream

the #GInputStream to load, e.g. stdin.

Return Value

Type: gtksource.file_loader.FileLoader

a new #GtkSourceFileLoader object.