Here’s a snippet of my entry widget BP. You might need to move just a few nodes around to make it more legible (it’s not that messy on my end, that’s just how it came through when I tried pasting the contents of the function into the same BP).
UMG right click issue > BlueprintUE.com | PasteBin For Unreal Engine 4
Widget has On Clicked and On Item Selection Changed events (I need both because I do set a default selection through BP code when initializing the widget) which really just execute the UpdateSelectedRole function after checking that the selected role is different from the already selected role (which I save in the player state).
The UpdateSelectedRole function just updates the selected role in the player state and updates the coloring of the buttons accordingly (black/grey with cyan text when not selected, cyan with black text when selected). It also sets the entry widget as the selected item on the owning listview (this seems to be necessary though I wasn’t expecting it to be, when I disconnect this the selection doesn’t work as expected)