Hi! Does anyone know if it is possible to execute a function or an operator when clicking a color property. I have written paint_palette.py addon and want to make it progress. Right now, the version i am working on is able to write and load a gimp color palette and display it.
Here is what it looks like:
The grey buttons between the color rows are the operators used to select the colors. The problem is that these grey buttons make the palette too cumbersome.
So here is my question:
Does anyone have any idea of how I could only display the color properties and select them by clicking it (or right clicking it…)?
Is it possible to have an operator displayed as a color property? Or having the operator button displaying a color?
Or having an event over the color property triggering the execution of a function or an operator.
Thanks in advance for any help.