Note
This documentation is for a development version of IPython. There may be significant differences from the latest stable release.
Button class.
Represents a button in the frontend using a widget. Allows user to listen for click events on the button and trigger backend code when the clicks are fired.
Bases: IPython.html.widgets.widget.DOMWidget
Button widget.
This widget has an on_click method that allows you to listen for the user clicking on the button. The click event itself is stateless.
Constructor
Register a callback to execute when the button is clicked.
The callback will be called with one argument, the clicked button widget instance.
| Parameters: | remove : bool (optional)
|
|---|