KeyFile.loadFromData

Loads a key file from memory into an empty GKeyFile structure. If the object cannot be created then error is set to a GKeyFileError. Since 2.6

class KeyFile
int
loadFromData

Parameters

data string

key file loaded in memory

flags GKeyFileFlags

flags from GKeyFileFlags

Return Value

Type: int

TRUE if a key file could be loaded, FALSE otherwise

Throws

GException on failure.

Meta