Multiple buttons with large-font text in them sharing the clicked ID

Help please. I’m lost :frowning:

I have a list of strings names.
I’d like to make for each of these strings a button with custom font and font-size (larger). These buttons will be one next to each other (I guess using columns).
The catch is that I’d like to know which button has been clicked in order to continue according to that.

Could find a solution for this.

Anyone ?

Thank you.

There is a documentation on how to create a button.

To generate more buttons, you can use a for loop for example.

To know which button is clicked, you can use the on_click parameter of the button widget.

To change font and font-size, there are some hacks on CSS which you can search on this forum.