XUL

From Gui

(Difference between revisions)
(Classify textareas)
(Classify checkboxes)
Line 12: Line 12:
* <spacer> (does this really count as a widget?)
* <spacer> (does this really count as a widget?)
* <button> [[Widget/Button]]
* <button> [[Widget/Button]]
-
** type=checkbox
+
** type=checkbox [[Widget/Checkbox]]
-
** type=radio
+
** type=radio [[Widget/Checkbox]]
* <toolbarbutton> [[Widget/Button]]
* <toolbarbutton> [[Widget/Button]]
-
* <checkbox>
+
* <checkbox> [[Widget/Checkbox]]
* <radiogroup>
* <radiogroup>
-
** <radio>
+
** <radio> [[Widget/Checkbox]]
* <tabs>
* <tabs>
** <tab>
** <tab>

Revision as of 01:58, 13 June 2009

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