DojoButton widget

A Dojo button invokes an event handler in response to a user’s click.

Fields

text
The text label for the button.
width
The width of the button.

Other supported fields and functions are described in the following topics in the EGL Programmer’s Guide: “Rich UI widget fields” and ”Rich UI widget functions.”

Use of this widget requires the following statement:
import dojo.widgets.DojoButton;