SourceFileLoader.this

Creates a new #GtkSourceFileLoader object. The contents is read from the #GtkSourceFile's location. If not already done, call gtk_source_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.

Parameters

buffer SourceBuffer

the #GtkSourceBuffer to load the contents into.

file SourceFile

the #GtkSourceFile.

Return: a new #GtkSourceFileLoader object.

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

3.14