Re: [Gimp-developer] PF_ENUM, SF_ENUM, dynamically defined enums for plugins

2022-08-14 Thread Nathan Summers via gimp-developer-list
On Sun, Aug 14, 2022, 6:25 PM Ofnuts via gimp-developer-list < gimp-developer-list@gnome.org> wrote: > I'm not convinced this needs to be an enum. The basic problem it to > show a list of strings, and return the index of the selected one. The > contents of the list can be quite dynamic. As far

Re: [Gimp-developer] PF_ENUM, SF_ENUM, dynamically defined enums for plugins

2022-08-14 Thread Ofnuts via gimp-developer-list
I'm not convinced this needs to be an enum. The basic problem it to show  a list of strings, and return the index of the selected one.  The contents of the list can be quite dynamic. As far as I can tell, in 2.10 they aren't cached in pluginrc. In 3.0, the query/init methods of the plugin suggest