[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.2" ) ]
public (unowned string)[] enum_get_values (Type type, int from, int to)
Returns the list of possible values for a given enum.
type |
the gtype of the enum |
from |
the first element to be returned |
to |
the last element to be returned |
a NULL-terminated dynamically-allocated array of static strings or null on error |