utils_enum_get_values

Function utils_enum_get_values 

Source
pub fn utils_enum_get_values(type_: Type, from: i32, to: i32) -> Vec<GString>
Available on crate feature v1_2 only.
Expand description

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

§Returns

a NULL-terminated dynamically-allocated array of static strings or None on error