There are few problems that you have to resolve. First of all. The "key-press-event" signal goes only to widgets that have focus and to the top-level window. Normal button does not have focus until it is clicked, or until you move focus to it using Tab. I would recommend to associate "key-press-event" handler not with button, but with some area that will definitely have focus when you press the Shift button.

Then comes the event handling. You need both key-press-event and key-release-event handlers. The first one would set some internal variable when it receives event notifying that the Shift was pressed. The second one would clear that variable when the Shift is released. The "clicked" event handler shall check that variable to see if it is set or not set. In the events for key you can even change the label of the button or do some other stuff.

Note. The "key-press-event" and "key-release-event" handlers should wait for event containing Shift_L or Shift_R as keyval. Here's the example program.