Revision 92060 of groupbox

  • Revision slug: XUL/groupbox
  • Revision title: groupbox
  • Revision id: 92060
  • Created:
  • Creator: Enn
  • Is current revision? No
  • Comment

Revision Content

{{ XULRefElem() }}

A box that draws a frame around it, intended to group a set of elements together. If a {{ XULElem("caption") }} element is placed inside the groupbox, it will be used as a caption which appears along the top of the groupbox.

More information is available in the XUL tutorial.

Properties
{{ PrefAnch("p-", "accessibleType") }}

Examples

Image:XUL_ref_groupbox.png
<groupbox>
  <caption label="Settings"/>
  <radiogroup>
    <radio label="Black and white"/>
    <radio label="Colour"/>
  </radiogroup>
  <checkbox label="Enabled"/>
</groupbox>

Attributes

{{ XULAttrInheritedWide() }}

Properties

{{ XULPropInc("accessibleType") }} {{ XULPropInheritedWide() }}

Methods

{{ XULMethInheritedWide() }}

Related

Interfaces
nsIAccessibleProvider
{{ languages( { "ja": "ja/XUL/groupbox", "pl": "pl/XUL/groupbox" } ) }}

Revision Source

<div class="noinclude">{{ XULRefElem() }}</div> <p>A box that draws a frame around it, intended to group a set of elements together. If a {{ XULElem("caption") }} element is placed inside the <code>groupbox</code>, it will be used as a caption which appears along the top of the <code>groupbox</code>.
</p><p>More information is available in the <a href="en/XUL_Tutorial/Groupboxes">XUL tutorial</a>.
</p>
<dl><dt> Properties
</dt><dd> {{ PrefAnch("p-", "accessibleType") }}
</dd></dl>
<h3 name="Examples"> Examples </h3>
<div class="float-right"><img alt="Image:XUL_ref_groupbox.png" fileid="459" src="File:en/Media_Gallery/XUL_ref_groupbox.png"></div>
<pre>&lt;groupbox&gt;
  &lt;caption label="Settings"/&gt;
  &lt;radiogroup&gt;
    &lt;radio label="Black and white"/&gt;
    &lt;radio label="Colour"/&gt;
  &lt;/radiogroup&gt;
  &lt;checkbox label="Enabled"/&gt;
&lt;/groupbox&gt;
</pre>
<h3 name="Attributes"> Attributes </h3>
<p>{{ XULAttrInheritedWide() }}
</p>
<h3 name="Properties"> Properties </h3>
<p>{{ XULPropInc("accessibleType") }}
{{ XULPropInheritedWide() }}
</p>
<h3 name="Methods"> Methods </h3>
<p>{{ XULMethInheritedWide() }}
</p>
<h3 name="Related"> Related </h3>
<dl><dt> Interfaces
</dt><dd> <a href="en/NsIAccessibleProvider">nsIAccessibleProvider</a>
</dd></dl>
{{ languages( { "ja": "ja/XUL/groupbox", "pl": "pl/XUL/groupbox" } ) }}
Revert to this revision