Constructor
GtkSourceFileLoadernew_from_stream
Declaration [src]
GtkSourceFileLoader*
gtk_source_file_loader_new_from_stream (
GtkSourceBuffer* buffer,
GtkSourceFile* file,
GInputStream* stream
)
Parameters
buffer-
Type:
GtkSourceBufferThe
GtkSourceBufferto load the contents into.The data is owned by the caller of the function. file-
Type:
GtkSourceFileThe
GtkSourceFile.The data is owned by the caller of the function. stream-
Type:
GInputStreamThe
GInputStreamto 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. |