Hi Jaxas smile

In a panel definition there are certain codes that you can and
cannot use. Your line "on_click..." should not be there.
I don't know the example your using.
You can place buttons in the panel. You will be
able to clic on these buttons with the mouse and the things that you
have put in a function will be done.

Hope this helps.