-
Michael Natterer authored
2004-12-08 Michael Natterer <mitch@gimp.org> * app/widgets/gimppropwidgets.[ch]: added new prop_widget gimp_prop_int_combo_box_new() which takes a pre-built GimpIntStore and allows to create views on int properties with arbitrary sets of values (not just enums). * app/widgets/gimpcontrollereditor.c (gimp_controller_editor_constructor): added support for generic combo boxes controlled exclusively by controller properties: if an int property "foo" is followed by an object property "foo-values" and the contained object is a GimpIntStore, use that store as model for selecting "foo"'s values using gimp_prop_int_combo_box_new(). (Allows for more flexible controller configuration, the actual use case in the midi controller is still work in progress).
d90360e2