Camel.KeyFile¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new(path, flags, version) | 
| delete() | |
| read(start, records) | |
| rename(path) | |
| write(parent, records) | 
Virtual Methods¶
| Inherited: | GObject.Object (7) | 
|---|
Properties¶
None
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class Camel.KeyFile(**kwargs)¶
- Bases: - GObject.Object- Abstract: - No - Structure: - Camel.KeyFileClass- 
classmethod new(path, flags, version)¶
- Parameters: - path (str) – a filename with path of theCamel.KeyFileto create
- flags (int) – open flags
- version (str) – Version string (header) of file. Currently written but not checked.
 - Returns: - A new key file, or - Noneif the file could not be opened/created/initialised.- Return type: - Create a new key file. A linked list of record blocks. 
- path (
 - 
read(start, records)¶
- Parameters: - Returns: - -1 on io error. - Return type: - Read the next block of data from the key file. Returns the number of records. 
 
- 
classmethod