GLib.KeyFile.prototype.set_comment
function set_comment(group_name: String, key: String, comment: String): Boolean { // Gjs wrapper for g_key_file_set_comment() }
Places a comment above key from group_name. If key is null then comment will be written above group_name. If both key and group_name are null, then comment will be written above the first group in the file.
Since 2.6
- group_name
a group name, or null
- key
a key
- comment
a comment
- Returns
true if the comment was written, false otherwise