Button Callbacks
Is it possible to create buttons inside of a cell that have callback functions as opposed to the buttons being used as selectors?
The legacy Sage notebook had JavascriptCodeButton but this was apparently not implemented in SageMathCell. The latter does have a Button
element that can be used to run Python code as part of the interact: you can find an example at the beginning of this Python source file.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2017-02-24 21:07:45 +0100
Seen: 549 times
Last updated: Feb 27 '17