XUL

From Gui

(Difference between revisions)
(more containers)
(Layouts)
 
(One intermediate revision not shown)
Line 3: Line 3:
== Widgets ==
== Widgets ==
-
Root element acts as [[Widget/Container]]
+
Root element acts as [[Widget/Frame]]
-
* <groupbox> [[Widget/Container]]
+
* <groupbox> [[Widget/Frame]]
** &lt;caption&gt; (not really a widget, more a property of <groupbox>)
** &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]]
Line 33: Line 33:
* <textbox> [[Widget/Textarea]]
* <textbox> [[Widget/Textarea]]
* <tree>
* <tree>
 +
 +
== Layouts ==
 +
 +
<hbox>, <vbox>, <grid>, very similar to [[Tk]] and [[GTK+]]
== Properties ==
== Properties ==

Current revision as of 20:55, 15 June 2009

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

Contents

[edit] Widgets

Root element acts as Widget/Frame

[edit] Layouts

<hbox>, <vbox>, <grid>, very similar to Tk and GTK+

[edit] Properties

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

[edit] <textbox>

  • multiline
  • type (number or password)

[edit] <listbox>

  • seltype (single or multiple)

[edit] <menulist>

  • editable

[edit] non-label controls

  • disabled
  • tabindex
  • controllers

[edit] <button>

NOTE: label and image can be children or properties

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

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

[edit] type=checkbox or type=radio

  • checked
  • checkState
  • autoCheck

[edit] <label>

  • control

[edit] <image>

  • src

[edit] Events

Personal tools