FileLoader.loadFinish

Finishes a file loading started with gtksource.file_loader.FileLoader.loadAsync.

If the contents has been loaded, the following classFile properties will be updated: the location, the encoding, the newline type and the compression type.

class FileLoader
bool
loadFinish

Parameters

result gio.async_result.AsyncResult

a #GAsyncResult.

Return Value

Type: bool

whether the contents has been loaded successfully.