Document.loadGfile

Synchronously loads the document from @file. See ev_document_load() for more information.

class Document
bool
loadGfile

Parameters

file FileIF

a #GFile

flags EvDocumentLoadFlags

flags from #EvDocumentLoadFlags

cancellable Cancellable

a #GCancellable, or %NULL

Return Value

Type: bool

%TRUE if loading succeeded, or %FALSE on error with @error filled in

Throws

GException on failure.

Meta