XUL

From Gui

(Difference between revisions)
(Classify listbox)
(more containers)
Line 5: Line 5:
Root element acts as [[Widget/Container]]
Root element acts as [[Widget/Container]]
-
* <groupbox>
+
* <groupbox> [[Widget/Container]]
-
** &lt;caption&gt;
+
** &lt;caption&gt; (not really a widget, more a property of <groupbox>)
* <description> (not associated with a wigdet) [[Widget/Label]]
* <description> (not associated with a wigdet) [[Widget/Label]]
* <label> (always associated with a widget) [[Widget/Label]]
* <label> (always associated with a widget) [[Widget/Label]]
Line 16: Line 16:
* <toolbarbutton> [[Widget/Button]]
* <toolbarbutton> [[Widget/Button]]
* <checkbox> [[Widget/Checkbox]]
* <checkbox> [[Widget/Checkbox]]
-
* <radiogroup>
+
* <radiogroup> [[Widget/Container]]
** <radio> [[Widget/Checkbox]]
** <radio> [[Widget/Checkbox]]
* <tabs>
* <tabs>

Revision as of 02:38, 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