Hi everyone!
I have a script where I would need to change a widget beheviour. The widget is a color property displayed in a panel. But I would like to change its beheviour when we click on the color(or press a button). But I don’t know if it’s possible and if it is, I don’t know how.
Here is the script for you to have an idea why I need this.
http://www.pasteall.org/21031/python
This script brings palettes to the different paint modes and I am looking into having more colors and implementing the gimp palette format. What I want is to be able to select the color just by clicking it(this would means to execute an operator when clicking it). But right now when clicking a color widget, it brings the color wheel to make adjustments to it. On the higher palette, I made an operator button for each color. But this would be absolutely cumbersome for the lower palette.
If someone could give me some hints, it would be very appreciated.
Thanks!