GLib.KeyFile.prototype.get_comment
function get_comment(group_name: String, key: String): String { // Gjs wrapper for g_key_file_get_comment() }
Retrieves a comment above key from group_name. If key is null then @comment will be read from above group_name. If both key and group_name are null, then @comment will be read from above the first group in the file.
Since 2.6
- group_name
a group name, or null
- key
a key
- Returns
a comment that should be freed with GLib.free