Method

FoundryTextManagerload

Declaration [src]

DexFuture*
foundry_text_manager_load (
  FoundryTextManager* self,
  GFile* file
)

Description [src]

Loads the file as a text buffer.

Parameters

file

Type: GFile

A GFile.

The data is owned by the caller of the method.

Return value

Type: DexFuture

A DexFuture that resolves to a FoundryTextBuffer.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.