Returns the value associated with key under group_name as an integer.
If key cannot be found then [error@GLib.KeyFileError.KEY_NOT_FOUND] is returned. Likewise, if the value associated with
key cannot be interpreted as an integer, or is out of range for a `gint`, then [error@GLib.KeyFileError.INVALID_VALUE] is
returned.
| this |
a key file |
| group_name |
a group name |
| key |
a key |
|
the value associated with the key as an integer, or `0` if the key was not found or could not be parsed. |