Is it possible to send current widget reference to a bind function?

What I’m trying to do is extract name/index of a widget and use a simple function on that value. Like so:

Any way to do this?

Thanks for your time