mozilla

Revision 83343 of toolbarseparator

  • Revision slug: XUL/toolbarseparator
  • Revision title: toolbarseparator
  • Revision id: 83343
  • Created:
  • Creator: Bmontuelle
  • Is current revision? No
  • Comment /* Examples */

Revision Content

{{template.XULRefElem()}}

Creates a separator between groups of toolbar items. It is functionally equivalent to a normal {{template.XULElem("separator")}} but some themes may apply a different appearance.

Properties
{{template.PrefAnch("p-", "accessible")}}

Examples

Simple separator

<toolbox>
    <toolbar>
          <toolbarbutton label="Button 1" />
          <toolbarseparator />
          <toolbarbutton label="Button 2" />
    </toolbar>
</toolbox>

Attributes

{{template.XULAttrInheritedWide()}}

Properties

{{template.XULPropInc("accessible")}} {{template.XULPropInheritedWide()}}

Methods

{{template.XULMethInheritedWide()}}

Related

Elements
{{template.XULElem("toolbar")}}, {{template.XULElem("toolbarbutton")}}, {{template.XULElem("toolbargrippy")}}, {{template.XULElem("toolbaritem")}}, {{template.XULElem("toolbarpalette")}}, {{template.XULElem("toolbarset")}}, {{template.XULElem("toolbarspacer")}}, {{template.XULElem("toolbarspring")}}, {{template.XULElem("toolbox")}}

Revision Source

<div class="noinclude">{{template.XULRefElem()}}</div> 
<p>Creates a separator between groups of toolbar items. It is functionally equivalent to a normal {{template.XULElem("separator")}} but some <a href="en/Themes">themes</a> may apply a different appearance.
</p>
<dl><dt> Properties
</dt><dd> {{template.PrefAnch("p-", "accessible")}}
</dd></dl>
<h3 name="Examples"> Examples </h3>
<h4 name="Simple_separator">Simple separator</h4>
<pre>&lt;toolbox&gt;
    &lt;toolbar&gt;
          &lt;toolbarbutton label="Button 1" /&gt;
          &lt;toolbarseparator /&gt;
          &lt;toolbarbutton label="Button 2" /&gt;
    &lt;/toolbar&gt;
&lt;/toolbox&gt;
</pre>
<h3 name="Attributes"> Attributes </h3>
<p>{{template.XULAttrInheritedWide()}}
</p>
<h3 name="Properties"> Properties  </h3>
<p>{{template.XULPropInc("accessible")}}
{{template.XULPropInheritedWide()}}
</p>
<h3 name="Methods"> Methods </h3>
<p>{{template.XULMethInheritedWide()}}
</p>
<h3 name="Related"> Related </h3>
<dl><dt> Elements
</dt><dd> {{template.XULElem("toolbar")}}, {{template.XULElem("toolbarbutton")}}, {{template.XULElem("toolbargrippy")}}, {{template.XULElem("toolbaritem")}}, {{template.XULElem("toolbarpalette")}}, {{template.XULElem("toolbarset")}}, {{template.XULElem("toolbarspacer")}}, {{template.XULElem("toolbarspring")}}, {{template.XULElem("toolbox")}}
</dd></dl>
Revert to this revision