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.
Asked: 2017-02-24 21:07:45 +0100
Seen: 914 times
Last updated: Feb 27 '17
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.