{{template.XULRefAttr()}}
- {{template.XULAttr("buttons")}}
- Type: comma-separated list of the values below
- A comma-separated list of buttons to appear in the dialog box. The buttons will be placed in suitable locations for the user's platform and basic event handling will be performed automatically. The following values can be used in the list:
-
accept
: The OK button, which will accept the changes when pressed. This button will also be the default button. -
cancel
: The cancel button which will cancel the operation. -
help
: A help button for displaying help about the dialog. -
disclosure
: A button to show more information. This might be a button or a disclosure triangle. -
extra1
: An optional additional button. You can set its label with the{{template.XULAttr("buttonlabelextra1")}}
attribute. -
extra2
: A second optional additional button. You can set its label with the{{template.XULAttr("buttonlabelextra2")}}
attribute.
Note: to not display any buttons in the dialog box, set the value of this attribute to "," (a single comma).
{{ wiki.languages( { "ja": "ja/XUL/Attribute/buttons", "pl": "pl/XUL/Atrybut/buttons" } ) }}