XUL
From Gui
(Difference between revisions)
(Initial XUL research) |
|||
Line 1: | Line 1: | ||
http://www.mozilla.org/projects/xul/xul.html | http://www.mozilla.org/projects/xul/xul.html | ||
+ | |||
+ | == Widgets == | ||
+ | |||
+ | Root element acts as [[Widget/Container]] | ||
+ | |||
+ | * <groupbox> | ||
+ | ** <caption> | ||
+ | * <description> (not associated with a wigdet) [[Widget/Label]] | ||
+ | * <label> (always associated with a widget) [[Widget/Label]] | ||
+ | * <image> [[Widget/Label]] | ||
+ | * <spacer> (does this really count as a widget?) | ||
+ | * <button> [[Widget/Button]] | ||
+ | ** type=checkbox | ||
+ | ** type=radio | ||
+ | * <toolbarbutton> [[Widget/Button]] | ||
+ | * <checkbox> | ||
+ | * <radiogroup> | ||
+ | ** <radio> | ||
+ | * <tabs> | ||
+ | ** <tab> | ||
+ | * <menulist> (combo box) | ||
+ | ** <menupopup> | ||
+ | *** <menuitem> | ||
+ | * <listbox> | ||
+ | ** <listitem> | ||
+ | |||
+ | == Properties == | ||
+ | |||
+ | * id | ||
+ | * class | ||
+ | * align | ||
+ | * dir | ||
+ | * flex | ||
+ | * ordinal | ||
+ | * orient | ||
+ | * pack | ||
+ | * hidden | ||
+ | * collapsed | ||
+ | * observes | ||
+ | * width, minWidth, maxWidth | ||
+ | * height, minHeight, maxHeight | ||
+ | * tooltipText | ||
+ | * statusText | ||
+ | * allowEvents | ||
+ | * style | ||
+ | |||
+ | === <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 <!-- text --> | ||
+ | * 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 == |
Revision as of 23:55, 12 June 2009
http://www.mozilla.org/projects/xul/xul.html
Contents |
Widgets
Root element acts as Widget/Container
- <groupbox>
-
- <description> (not associated with a wigdet) Widget/Label
- <label> (always associated with a widget) Widget/Label
- <image> Widget/Label
- <spacer> (does this really count as a widget?)
- <button> Widget/Button
- type=checkbox
- type=radio
- <toolbarbutton> Widget/Button
- <checkbox>
- <radiogroup>
- <radio>
- <tabs>
- <tab>
- <menulist> (combo box)
- <menupopup>
- <menuitem>
- <menupopup>
- <listbox>
- <listitem>
Properties
- id
- class
- align
- dir
- flex
- ordinal
- orient
- pack
- hidden
- collapsed
- observes
- width, minWidth, maxWidth
- height, minHeight, maxHeight
- tooltipText
- statusText
- allowEvents
- style
<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 ==