You are currently viewing a snapshot of taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to, please file a bug.

<< XULNotes Author: Ian Oeschger Other Docs: XUL Reference

XUL Widget Cheatsheet

<menu value="Menu Widget">
    <menuitem value="foo" />
    <menuitem value="shoo" />
    <menu value="sub">
        <menuitem value="subitem" />
<menulist value="Menulist Element">
    <menuitem value="foo" />
    <menuitem value="shoo" />
    <menuitem value="boo" />
<menubutton src="back.gif">
    <menuitem value="foo" />
    <menuitem value="shoo" />
    <menuitem value="boo" />
<checkbox value="Books" />
<checkbox value="Labrador Retriever" />
<checkbox class="iconic" src="TB_Location.gif" />
  <radio value="de Kooning" />
  <radio value="Pollock" checked="true" />
  <radio value="Kline" />
<textfield value="Fill in here" />
  value="I am a textarea now"   multiline="true" />
<button value="Click Me" />
  value="No, really. Click me." />
<tabcontrol align="vertical" style="background-color: lightgrey;" >
  <tabbox align="horizontal">
    <tab value="Tab One" />
    <tab value="Tab Two" />

  <tabpanel flex="100%">
    <box><text value="View One" /></box>
    <box><text value="View Two" /></box>
<scrollbar orient="vertical"
  <scrollbarbutton type="decrement" />
    <thumb value="Thumb" flex="0%" />
  <scrollbarbutton type="increment" />