Making a tool active with button or checkbox, inside embedded GeoGebra.
I'd like to allow users to make the Pen tool active with the click of a button or checkbox.
How do I do this? I could not find a command line option for setting particular tool as "active".
Note: I know that I could make only certain tools visible, but I'd like to be able to set a certain tool as active in the graphing window via a button or checkbox.