How can I simulate pressing a button by changing the png image of the button?

I want the button to feel pressed when I tap it. Can anyone give me a tip on how to change the image when pressing the button, I know there is a way using FLAG or STATUS without having to actually change the image.

Can anyone help me?

Hi,

You have to set the image to the background image style of the button widget, which you can change in pressed state.