Description Usage Arguments Details Value Author(s)
Loads the content of the file into memory. The data is always
zero-terminated, but this is not included in the resultant length
.
1 | gFileLoadContents(object, cancellable = NULL, .errwarn = TRUE)
|
|
input |
|
optional |
.errwarn |
Whether to issue a warning on error or fail silently |
If cancellable
is not NULL
, then the operation can be cancelled by
triggering the cancellable object from another thread. If the operation
was cancelled, the error G_IO_ERROR_CANCELLED
will be returned.
A list containing the following elements:
retval |
[logical] |
|
a location to place the contents of the file. |
|
a location to place the length of the contents of the file,
or |
|
a location to place the current entity tag for the file,
or |
|
a |
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.