Virtual Method

PlumaDocumentload

Declaration [src]

void
load (
  PlumaDocument* document,
  const gchar* uri,
  const PlumaEncoding* encoding,
  gint line_pos,
  gboolean create
)

Description [src]

Load a document. This results in the “load” signal to be emitted.

Parameters

uri

Type: const gchar*

The uri where to load the document from.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
encoding

Type: PlumaEncoding

The PlumaEncoding to encode the document.

The data is owned by the caller of the function.
line_pos

Type: gint

The line to show.

create

Type: gboolean

Whether the document should be created if it doesn’t exist.