parse_integer
Description:
From a integer valuer calculates a valid GLib.EnumValue for a GLib.Type.
Returns: a GLib.EnumValue or null if fails.
Parameters:
| enumeration | a GLib.Type of type GLib.Type.ENUM | 
| val | an integer in a valid range in the enumeration. |