use enum to improve code readability for config
use enum to improve code readability for config

GuillaumeGomez/gir,EPashkin/gir,gtk-rs/gir,gtk-rs/gir,GuillaumeGomez/gir,GuillaumeGomez/gir,EPashkin/gir,gtk-rs/gir