Sets an onclick event-handler method for handling click-actions on the button.
<function> ToolbarButton.onclick