XUL

From Gui

Revision as of 02:38, 13 June 2009 by 173.11.94.130 (Talk)

https://developer.mozilla.org/en/XUL_controls

Contents

Widgets

Root element acts as Widget/Container

Properties

  • id
  • class
  • align
  • dir
  • flex
  • ordinal
  • orient
  • pack
  • hidden
  • collapsed
  • observes
  • width, minWidth, maxWidth
  • height, minHeight, maxHeight
  • tooltipText
  • statusText
  • allowEvents
  • style

<textbox>

  • multiline
  • type (number or password)

<listbox>

  • seltype (single or multiple)

<menulist>

  • editable

non-label controls

  • disabled
  • tabindex
  • controllers

<button>

NOTE: label and image can be children or properties

  • image
  • label
  • crop
  • accessKey
  • command
  • dlgType

NOTE: type=menu with <menupopup> for popup menu

type=checkbox or type=radio

  • checked
  • checkState
  • autoCheck

<label>

  • control

<image>

  • src

Events

Personal tools