GLib.KeyFileFlags

Flags which influence the parsing.

KeyFileFlags.NONE

No flags, default behaviour

KeyFileFlags.KEEP_COMMENTS

Use this flag if you plan to write the (possibly modified) contents of the key file back to a file; otherwise all comments will be lost when the key file is written back.

KeyFileFlags.KEEP_TRANSLATIONS

Use this flag if you plan to write the (possibly modified) contents of the key file back to a file; otherwise only the translations for the current language will be written back.