# 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?

0

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 14:07:45 -0500
**

Seen: **70 times**

Last updated: **Feb 27 '17**

Why Sage cannot pass a value of variable from one function to another nested function?

Defining a function of the form $f(x_1,x_2,...,x_n)=\sum_{i=0}^n x_i$

Substituting function value in an expression

Fermi-Dirac integral of half order

How to substitute a function within derivatives?

Defining functions acting on matrix elements?

Display x-intercept of a plot, involving x raised to the 3rd power.

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.