Luxor Network: Luxor - Luxilla - Petra - Installer DeLux - Luxor Contrib - Luxor Forum - The Memphis Sun
Luxor XUL Logo
Making Building Classic Desktop-Style UIs As Easy As Building Web Pages
Overview . Tag Reference . Cheat Sheet . CSS Reference . API Reference . FAQ . History . Upcoming . Gallery . Notes . Powered By Luxor . Contribute . Mailing Lists & Forums . Premium Support . Credits . Glossary . Site Search . The Memphis Sun . Download . Download Luxilla . Download Plugins . Download Contrib . Source . Javadoc . Team . Who's Who . Donate . Luxor @ Sourceforge

Luxor XUL Quick Tag Reference

Understanding the Quick Tag Reference

Syntax

Types

Type Description
string String (may contain spaces); Example: Who Cares?
char Character; Example: O
id Identifier (may contain dot ".", underscore "_" or dash "-"); Example: createCar
number Number; Example: 1
url URL; Example: http://www.vamphq.com
path Directory Path; Example: images/20x20/venus.gif
boxes includes the following tags: box, grid, groupbox, hbox, tabbox, table, tabpanel, vbox
widgets includes the following tags: button, checkbox, choice, label, password, separator, spacer, text, textarea, componentref
Quick Tag Reference; Here We Go
Tag Syntax
Box Tags
box
  <box [orient=HORIZONTAL|VERTICAL] [flex=number]>
     <!-- content: (widgets|boxes)+ -->
  </box> 
hbox
  <hbox [flex=number]>
     <!-- content: (widgets|boxes)+ -->
  </hbox>   
vbox
  <vbox [flex=number]>
     <!-- content: (widgets|boxes)+ -->
  </vbox> 
groupbox
  <groupbox [orient=HORIZONTAL|VERTICAL] [flex=number]>
     <!-- content: caption? (widgets|boxes)+ -->
  </groupbox>  
caption
  <caption [label=string]/>  
Grid Tags
grid
  <grid [flex=number]>
     <!-- content: columns rows -->
  </grid>  
columns
  <columns>
     <!-- content: column+ -->
  </columns>  
column
  <column/>  
rows
  <rows>
     <!-- content: row+ -->
  </rows>   
row
  <row>
     <!-- content: (widgets|boxes)+ -->
  </row>   
HTML Table Tags
table
  <table>
     <!-- content: tr+ -->
  </table>   
tr
  <tr>
     <!-- content: td+ -->
  </tr>   
td
  <td [horz=LEFT|CENTER|RIGHT|MAX] [vert=TOP|MIDDLE|BOTTOM|MAX]>
     <!-- content: (widgets|boxes)+ -->
  </td>  
Tab Box Tags
tabbox
  <tabbox [flex=number]>
     <!-- content: (tabs|tabpanels)+ -->
  </tabbox>   
tabs
  <tabs>
     <!-- content: tab+ -->
  </tabs>   
tab
  <tab label=string />  
tabpanels
  <tabpanels>
     <!-- content: tabpanel+ -->
  </tabpanels>   
tabpanel
  <tabpanel>
     <!-- content: (widgets|boxes)+ -->
  </tabpanel>   
Main Widget Tags
button
  <button label=string [command=id] 
          [tooltip=string] [icon=id] />  
checkbox
  <checkbox label=string [checked=TRUE|FALSE] />  
choice
  <choice (map=id | list=id) [type=RADIO] [orient=HORZ|VERT]/>  
mchoice
  <mchoice (map=id | list=id) [type=CHECKBOX|LIST] [orient=HORZ|VERT]/>  
label
  <label value=string />  
    or
  <label>
     <!-- content: xhtml -->
  </label>
password
  <password [cols=number] />  
separator
  <separator [orient=HORZ|VERT] />  
spacer
  <spacer/>  
text
  <text [value=string] [cols=number] />  
textarea
  <textarea [value=string] [rows=number] [cols=number] />  
image
  <image src=path />  
iframe
  <iframe src=path />  
componentref , gadget
  <componentref/>
    or  
  <gadget/>
Data Control Tags
datagrid
  <datagrid datasource=path />
tree
  <tree datasource=path />
Menu Tags
menubar
  <menubar>
     <!-- content: (menu|menuref)+ -->
  </menubar>   
menu
  <menu label=string [accesskey=char]>
     <!-- content: menupopup -->
  </menu>   
menuref
  <menuref label=string [icon=id] />  
menupopup
  <menupopup>
     <!-- content: (menu|menuref|menuitem|displayurl)+ -->
  </menupopup>   
menuitem
  <menuitem label=string [command=id] 
            [acceskey=char] [key=id]
            [icon=id] />  
menuseparator
  <menuseparator/>  
popup
  <popup>
     <!-- content: (menu|menuref|menuitem|displayurl)+ -->
  </popup>   
displayurl
  <displayurl label=string url=url 
              [offline=url] [icon=id]/>  
Toolbar Tags
toolbar
  <toolbar>
     <!-- content: (toolbarbutton|toolbarseparator)+ -->
  </toolbar>   
toolbarbutton
  <toolbarbutton label=string [command=id]
                 [icon=id] [tooltip=string]
                 [accesskey=char] />  
toolbarseparator
  <toolbarseparator />  
Data Tags
list
  <list [sort=TRUE|FALSE]>
     <!-- content: entry+ -->
  </list>  
map
  <map [sort=TRUE|FALSE]>
     <!-- content: entry+ -->
  </map>   
entry
  <entry value=string [key=string] />  
Portal Tags
portal
  <portal>
     <!-- content: (xhtml|portlet)+ -->
  </portal>   
portlet
  <portlet />  
Keyboard Shortcuts Tags
keyset
  <keyset>
     <!-- content: key+ -->
  </keyset>   
key
  <key key=char [mofifiers=CONTROL] />  
Misc Tags
anim
  <anim>
     <!-- content: icon+ -->
  </anim>   
icon
  <icon ref=path />  
stylesheet
  <stylesheet datasource=path />  
More Quick Links: Batik SVG · Velocity · Python · Jython · Groovy · JDOM · dom4j · Jaxen · XDoclet · Eclipse SWT · wx4j · Java Gnome · KDE/Qt Java · Kaffe · gcj · SableVM · IKVM · Mono · DotGNU · Gtk# · Qt# · Parrot · Mozilla · Relax NG
Hosted by SourceForge SourceForge Logo For questions related to the use of Luxor, please consult our web pages. If that fails, the luxor-xul-user mailinglist might help.
Please send comments on our web pages and the development of Luxor to our public luxor-xul-develop mailinglist.
Maintained by Luxor Team
Copyright © 2001, 2002, 2003, 2004, 2005 Luxor Foundation