The subclasses of <button> are as shown in Table 8.4. These subclasses include not only buttons that can appear in any sheet, but also their equivalent classes of menu item. Thus, an instance of <check-button> represents a button whose state can toggle a specific value on and off, and an instance of <check-menu-button> represents a menu item whose state can toggle a specific value on and off in the same way.
Since all the subclasses of <button> are themselves value gadgets, each one supports the value protocol, as described in Section 8.1 on page 503.
<button> |
|
| <check-button> |
<check-menu-button> | |
<menu-button> | |
<push-button> | |
<push-menu-button> | |
<radio-button> | |
<radio-menu-button> |