4.3. XUL Buttons

XUL provides a number of button-like tags. Two tags fit most common requirements: <button> and <toolbarbutton>. It's rare that you'll need anything more than these. Nevertheless, there are three other button tags worth examining: <autorepeatbutton>, <thumb>, and <scrollbarbutton>. These five tags are the most button-like of the XUL tags. Some of these tags are several button types in one.

Separate from these five tags are a number of other button-like tags. Grippy tags are button-like tags that are attached to other widgets. <label> has some button-like features as well. <statusbarpanel> is discussed in Chapter 8, Navigation, rather than here. Finally, a few tags are worth avoiding because of their incompleteness or their age. ...

Get Rapid Application Development with Mozilla™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.