Could you please clarify your use case here, what are you trying to achieve? It is not too clear how you are trying to use the value widget and the button.
Am having 2 buttons. Button A and Button B. If I click button A, the colour of button B have to change. is it possible?