Document.loadStream

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

class Document
bool
loadStream
(
InputStream stream
,,
Cancellable cancellable
)

Parameters

stream InputStream

a #GInputStream

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