Constructor
GtkSourceFileLoadernew_from_stream
Declaration [src]
GtkSourceFileLoader*
gtk_source_file_loader_new_from_stream (
GtkSourceBuffer* buffer,
GtkSourceFile* file,
GInputStream* stream
)
Parameters
buffer
-
Type:
GtkSourceBuffer
The
GtkSourceBuffer
to load the contents into.The data is owned by the caller of the function. file
-
Type:
GtkSourceFile
The
GtkSourceFile
.The data is owned by the caller of the function. stream
-
Type:
GInputStream
The
GInputStream
to load, e.g. stdin.The data is owned by the caller of the function.
Return value
Type: GtkSourceFileLoader
A new GtkSourceFileLoader
object.
The caller of the function takes ownership of the data, and is responsible for freeing it. |