ok let me explain you again.
I have a window on that i want to create a button on that button i want to set image for pressed and unpressed both. image which i am using is transparent. I want the same image to be used and just change the background color in callback function of that button like this.
THIS FUNCTION will set the background properly. now at some point of time popup comes on top of that window where button was drawn. when that popup goes (deleted) background color of that button also went off and now it is black. i am not able to set the background color again.. hope you understood.