XUL Tutorial - MDC Page 1 of 4

XUL Tutorial From MDC

This tutorial describes XUL , the XML User-interface Language. This language was created for the application and is used to describe its .

Introduction [edit

 Introduction  XUL Structure  The Chrome URL  Manifest Files

Simple Elements [edit

 Creating a

 Adding Buttons

 Adding Labels and Images

 Input Controls

 Numeric Controls

 List Controls

 Progress Meters

 Adding HTML Elements

 Using Spacers

 More Features

The Box Model [edit

 The Box Model

 Element Positioning

 Box Model Details

 Groupboxes

 Adding More Elements

More Layout Elements [edit

http://developer.mozilla.org/en/docs/XUL_Tutorial 7/21/2008 XUL Tutorial - MDC Page 2 of 4

 Stacks and Decks  Stack Positioning  Tabboxes  Grids  Content Panels  Splitters

Toolbars and Menus [edit



 Simple Bars

 More Menu Features

 Popup Menus

 Scrolling Menus

Events and Scripts [edit

 Adding Event Handlers  More Event Handlers  Keyboard Shortcuts  Focus and Selection  Commands  Updating Commands  Broadcasters and Observers

Document Object Model [edit

  Modifying a XUL Interface  Manipulating Lists  Box Objects  XPCOM Interfaces  XPCOM Examples

Trees [edit

 Trees

 More Tree Features

 Tree Selection

 Custom Tree Views

 Details

http://developer.mozilla.org/en/docs/XUL_Tutorial 7/21/2008 XUL Tutorial - MDC Page 3 of 4

 Tree Box Objects

RDF and Templates [edit

 Introduction to RDF

 Templates

 Trees and Templates

 RDF Datasources

 Advanced Rules

 Persistent Data

Skins and Locales [edit

 Adding Style Sheets  Styling a Tree  Modifying the Default Skin  Creating a Skin  Localization  Property Files

Bindings [edit

 Introduction to XBL  Anonymous Content  XBL Attribute Inheritance  Adding Properties  Adding Methods  Adding Event Handlers  XBL Inheritance  XBL Example

Specialized Window Types [edit

 Features of a Window

 Creating Dialogs

 Open and Save Dialogs

 Creating a Wizard

 More Wizards

 Overlays

 Cross Package Overlays

http://developer.mozilla.org/en/docs/XUL_Tutorial 7/21/2008 XUL Tutorial - MDC Page 4 of 4

Installation [edit

 Creating an Installer

 Install Scripts

 Additional Install Features

This XUL tutorial was originally created by Neil Deakin (http://www.xulplanet.com/ndeakin/). He has graciously given us permission to use it as part of the MDC .

Original Document Information [edit ]

 Author: Neil Deakin (http://www.xulplanet.com/ndeakin/)

 Copyright Information: © 1999-2005 XULPlanet.com

Retrieved from " http://developer.mozilla.org/en/docs/XUL_Tutorial "

http://developer.mozilla.org/en/docs/XUL_Tutorial 7/21/2008