A class that represents a button widget.
Create a new button widget and initialize it.
Optional
Button text.
The function to call when the button is clicked.
Do the necessary initialization.
Add one or more classes to an element.
Rest
Destroy the element
Add a click event listener to the widget.
The function to call when the widget is clicked.
Remove one or more classes from an element.
Set the content of the widget.
The value to set the content to.
Set the text of the widget.
The value to set the text to.
A class that represents a button widget.