Revision 83622 of prefpane

  • Revision slug: XUL/prefpane
  • Revision title: prefpane
  • Revision id: 83622
  • Created:
  • Creator: 2bass
  • Is current revision? No
  • Comment onpaneload not onpanelload

Revision Content

{{template.XULRefElem()}}

A single preference panel in a {{template.XULElem("prefwindow")}}. A prefpane is made up of two parts, the preferences descriptions, which specify the set of preferences that will be modified, and the user interface for adjusting those preferences. The former is specified using a {{template.XULElem("preferences")}} element while the latter may be specified using other XUL elements.

Both may be specified directly as children of the prefpane element, or the {{template.XULAttr("src")}} attribute may be used to put a pane in a separate file. In this latter case, the separate file should use an {{template.XULElem("overlay")}} tag as its root tag since it will be loaded as an overlay to the main preferences window.

More information is available in the Preferences System article.

Attributes
{{template.PrefAnch("a-", "helpURI")}}, {{template.PrefAnch("a-", "image")}}, {{template.PrefAnch("a-", "label")}}, {{template.PrefAnch("a-", "onpanelload")}}, selected, src
Properties
{{template.PrefAnch("p-", "image")}}, {{template.PrefAnch("p-", "label")}}, {{template.PrefAnch("p-", "preferenceElements")}}, {{template.PrefAnch("p-", "preferences")}}, {{template.PrefAnch("p-", "selected")}}, {{template.PrefAnch("p-", "src")}}
Methods
{{template.PrefAnch("m-", "preferenceForElement")}}

Examples

(example needed)

Attributes

{{template.XULAttrInherited()}} {{template.XULAttrInc("helpURI")}} {{template.XULAttrInc("image")}} {{template.XULAttrInc("label")}} {{template.XULAttrInc("onpaneload")}} {{template.XULAttrInc("prefpane.selected")}} {{template.XULAttrInc("prefpane.src")}}

Properties

{{template.XULPropInherited()}} {{template.XULPropInc("image")}} {{template.XULPropInc("label")}} {{template.XULPropInc("preferenceElements")}} {{template.XULPropInc("preferences")}} {{template.XULPropInc("selected")}} {{template.XULPropInc("src")}}

Methods

{{template.XULMethInc("preferenceForElement")}} {{template.XULMethInheritedWide()}}

Related

TBD

{{ wiki.languages( { "pl": "pl/XUL/prefpane" } ) }}

Revision Source

<div class="noinclude">{{template.XULRefElem()}}</div> 
<p>A single preference panel in a {{template.XULElem("prefwindow")}}. A <code>prefpane</code> is made up of two parts, the preferences descriptions, which specify the set of preferences that will be modified, and the user interface for adjusting those preferences. The former is specified using a {{template.XULElem("preferences")}} element while the latter may be specified using other XUL elements.
</p><p>Both may be specified directly as children of the <code>prefpane</code> element, or the {{template.XULAttr("src")}} attribute may be used to put a pane in a separate file. In this latter case, the separate file should use an {{template.XULElem("overlay")}} tag as its root tag since it will be loaded as an overlay to the main preferences window.
</p><p>More information is available in the <a href="en/Preferences_System">Preferences System</a> article.
</p>
<dl><dt> Attributes
</dt><dd> {{template.PrefAnch("a-", "helpURI")}}, {{template.PrefAnch("a-", "image")}}, {{template.PrefAnch("a-", "label")}}, {{template.PrefAnch("a-", "onpanelload")}}, <a href="#a-prefpane.selected">selected</a>, <a href="#a-prefpane.src">src</a>
</dd></dl>
<dl><dt> Properties
</dt><dd> {{template.PrefAnch("p-", "image")}}, {{template.PrefAnch("p-", "label")}}, {{template.PrefAnch("p-", "preferenceElements")}}, {{template.PrefAnch("p-", "preferences")}}, {{template.PrefAnch("p-", "selected")}}, {{template.PrefAnch("p-", "src")}}
</dd></dl>
<dl><dt> Methods
</dt><dd> {{template.PrefAnch("m-", "preferenceForElement")}} 
</dd></dl>
<h3 name="Examples"> Examples </h3>
<p>(example needed)
</p>
<h3 name="Attributes"> Attributes </h3>
<p>{{template.XULAttrInherited()}}
{{template.XULAttrInc("helpURI")}}
{{template.XULAttrInc("image")}}
{{template.XULAttrInc("label")}}
{{template.XULAttrInc("onpaneload")}}
{{template.XULAttrInc("prefpane.selected")}}
{{template.XULAttrInc("prefpane.src")}}
</p>
<h3 name="Properties"> Properties  </h3>
<p>{{template.XULPropInherited()}}
{{template.XULPropInc("image")}}
{{template.XULPropInc("label")}}
{{template.XULPropInc("preferenceElements")}}
{{template.XULPropInc("preferences")}}
{{template.XULPropInc("selected")}}
{{template.XULPropInc("src")}}
</p>
<h3 name="Methods"> Methods </h3>
<p>{{template.XULMethInc("preferenceForElement")}}
{{template.XULMethInheritedWide()}}
</p>
<h3 name="Related"> Related </h3>
<p>TBD
</p>{{ wiki.languages( { "pl": "pl/XUL/prefpane" } ) }}
Revert to this revision