Category:QA:Tools - MDC, Talk:Gecko - MDC, RSS - MDC, DOM:window.scrollByPages - MDC, Category:All Categories - MDC, Category:XPath - MDC, Gecko - MDC, MDC:To Do List - MDC, The Business Benefits of Web Standards - MDC, Developing Mozilla - MDC

XUL Tutorial

From MDC

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

[edit]

Introduction

  • Introduction
  • XUL Structure
  • The Chrome URL
  • Manifest Files
[edit]

Simple Elements

  • Creating a Window
  • Adding Buttons
  • Adding Labels and Images
  • Input Controls
  • List Controls
  • Progress Meters
  • Adding HTML Elements
  • Using Spacers
  • More Button Features
[edit]

The Box Model

  • The Box Model
  • Element Positioning
  • Box Model Details
  • Groupboxes
  • Adding More Elements
[edit]

More Layout Elements

  • Stacks and Decks
  • Stack Positioning
  • Tabboxes
  • Grids
  • Content Panels
  • Splitters
  • Scroll Bars
[edit]

Toolbars and Menus

  • Toolbars
  • Simple Menu Bars
  • More Menu Features
  • Popup Menus
  • Scrolling Menus
[edit]

Events and Scripts

  • Adding Event Handlers
  • More Event Handlers
  • Keyboard Shortcuts
  • Focus and Selection
  • Commands
  • Updating Commands
  • Broadcasters and Observers
[edit]

Document Object Model

  • Document Object Model
  • Modifying a XUL Interface
  • Manipulating Lists
  • Box Objects
  • XPCOM Interfaces
  • XPCOM Examples
[edit]

Trees

  • Trees
  • More Tree Features
  • Tree Selection
  • Custom Tree Views
  • Tree View Details
  • Tree Box Objects
[edit]

RDF and Templates

  • Introduction to RDF
  • Templates
  • Trees and Templates
  • RDF Datasources
  • Advanced Rules
  • Persistent Data
[edit]

Skins and Locales

  • Adding Style Sheets
  • Styling a Tree
  • Modifying the Default Skin
  • Creating a Skin
  • Localization
  • Property Files
[edit]

Bindings

  • Introduction to XBL
  • Anonymous Content
  • XBL Attribute Inheritance
  • Adding Properties
  • Adding Methods
  • Adding Event Handlers
  • XBL Inheritance
  • XBL Example
[edit]

Specialized Window Types

  • Features of a Window
  • Creating Dialogs
  • Open and Save Dialogs
  • Creating a Wizard
  • More Wizards
  • Overlays
  • Cross Package Overlays
[edit]

Installation

  • Creating an Installer
  • Install Scripts
  • Additional Install Features

This XUL tutorial was originally created by Neil Deakin. He has graciously given us permission to use it as part of the MDC.

[edit]

Original Document Information

  • Author: Neil Deakin
  • Last Updated Date: June 3rd, 2005
  • Copyright Information: © 1999-2005 XULPlanet.com
Retrieved from "http://developer.mozilla.org/en/docs/XUL_Tutorial"