buttons

  • 版本网址缩略名: XUL/Property/buttons
  • 版本标题: buttons
  • 版本 id: 235812
  • 创建于:
  • 创建者: c_king
  • 是否是当前版本?
  • 评论 page created, 163 words added

修订内容

{{ XULRefProp() }}
{{ XULProp("buttons") }}
Type: comma-separated list of the values below
A comma-separated list of buttons to appear on 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 {{ XULAttr("buttonlabelextra1") }} attribute.
  • extra2: A second optional additional button. You can set its label with the {{ XULAttr("buttonlabelextra2") }} attribute.

{{ languages( { "en": "en/XUL/Property/buttons", "es": "es/XUL/Property/buttons", "ja": "ja/XUL/Property/buttons", "pl": "pl/XUL/W\u0142asno\u015b\u0107/buttons" } ) }}

修订版来源

<div class="noinclude">{{ XULRefProp() }}</div>
<dl> <dt>{{ XULProp("buttons") }}</dt> <dd>Type: <em>comma-separated list of the values below</em></dd> <dd>A comma-separated list of buttons to appear on 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: <ul> <li><code>accept</code>: The OK button, which will accept the changes when pressed. This button will also be the default button.</li> <li><code>cancel</code>: The cancel button which will cancel the operation.</li> <li><code>help</code>: A help button for displaying help about the dialog.</li> <li><code>disclosure</code>: A button to show more information. This might be a button or a disclosure triangle.</li> <li><code>extra1</code>: An optional additional button. You can set its label with the <code>{{ XULAttr("buttonlabelextra1") }}</code> attribute.</li> <li><code>extra2</code>: A second optional additional button. You can set its label with the <code>{{ XULAttr("buttonlabelextra2") }}</code> attribute.</li> </ul> </dd>
</dl>
<div class="noinclude"> <p>{{ languages( { "en": "en/XUL/Property/buttons", "es": "es/XUL/Property/buttons", "ja": "ja/XUL/Property/buttons", "pl": "pl/XUL/W\u0142asno\u015b\u0107/buttons" } ) }}</p>
</div>
恢复到这个版本