I'd like to know how to add a custom button somewhere in the gimp interface that could do some arbitrary function. Examples:
- click button and it creates a rectangular selection 10% smaller than current image dimensions
- click button and a horizontal guide is added to image at 20%.
I'm willing to some programming in python or Script-fu. Is this possible in GIMP? And if so how?