BookmarkFile.loadFromData

Loads a bookmark file from memory into an empty #GBookmarkFile structure. If the object cannot be created then @error is set to a #GBookmarkFileError.

class BookmarkFile
bool
loadFromData
(
string data
,
size_t length
)

Parameters

data string

desktop bookmarks loaded in memory

length size_t

the length of @data in bytes

Return Value

Type: bool

%TRUE if a desktop bookmark could be loaded.

Throws

GException on failure.

Meta

Since

2.12