Method
FoundryTextManagerload
Declaration [src]
DexFuture*
foundry_text_manager_load (
FoundryTextManager* self,
GFile* file,
FoundryOperation* operation,
const char* encoding
)
Parameters
file-
Type:
GFileA
GFile.The data is owned by the caller of the method. operation-
Type:
FoundryOperationAn operation for progress.
The data is owned by the caller of the method. encoding-
Type:
const char*An optional encoding charset.
The argument can be NULL.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.
Return value
Type: DexFuture
A DexFuture that resolves to a
FoundryTextDocument.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |