How can i manually set a button widget to hovered state

I attempted it this way but it did not work the way I intended, i believe this has something to do with a prior tutorial I went through in regards to using keyboard focus and switching the style of buttons, anyway this is what i was going for