Toplevel
| Key | Value | Required? |
|---|---|---|
| "definitions" | see Definitions | no* |
| "dialogs" | see Dialogs | yes |
Definitions
The structure within this element can be altered and expanded. Currently, definitions are sorted by type. This structure was chosen so it would be possible to write validation (e.g. using Kwalify) for the file, in case that was needed.
| Key | Value | Required? |
|---|---|---|
| "widgets" | map with string keys and Widget values | no* |
| "buttons" | map with string keys and Button values | no* |
| "button_strips" | map with string keys and Button Strip values | no* |
Dialogs
Elements are of type Dialog.
Dialog
Generic Values
| Key | Value | Required? |
|---|---|---|
| "title" | locale string | no |
| "name" | string | yes |
| "content" | see Widget | yes |
| "button_strip" | see Button Strip | yes |
'Dialog'
| Key | Value | Required? |
|---|---|---|
| "type" | "Dialog" | yes |
'AlertDialog'
| Key | Value | Required? |
|---|---|---|
| "type" | "AlertDialog" | yes |
| "skin_image" | string. typical values:
|
yes |
Widget
Generic Values
| Key | Value | Required? |
|---|---|---|
| "name" | string | no** |
| "minimum-width" | widget size | no |
| "minimum-height" | widget size | no |
| "nominal-width" | widget size | no |
| "nominal-height" | widget size | no |
| "preferred-width" | widget size | no |
| "preferred-height" | widget size | no |
Generic Widgets
Selectable
Inherits generic widget values.
| Key | Value | Required? |
|---|---|---|
| "content" | see Widget | yes |
| "inline_content" | see Widget | yes |
Widget State
| Key | Value | Required? |
|---|---|---|
| "string" | locale string | yes |
| "skin_image" | string | yes |
| "action_string"/"action" | Action | yes |
| "data" | integer | yes |
Layout Widgets
'GridLayout'
Inherits generic widget values.
| Key | Value | Required? |
|---|---|---|
| "type" | "GridLayout" | yes |
| "vcenter" | boolean | no |
| "template" | Grid Row Layout | no |
| "elements" | sequence of Grid Row Layouts | no** |
| "colspan" | number | no |
'StackLayout'
Inherits generic widget values.
| Key | Value | Required? |
|---|---|---|
| "type" | "StackLayout" | yes |
| "vcenter" | boolean | no |
| "elements" | sequence of Widgets | no** |
Content Widgets
'Button'
Inherits generic widget values.
| Key | Value | Required? |
|---|---|---|
| "type" | "Button" | yes |
| "skin-border-image" | string | no |
| "skin-foreground-image" | string | no |
| "button-style" | "toolbar-image"/"toolbar-text" | no |
'Dropdown'
Inherits generic widget values.
| Key | Value | Required? |
|---|---|---|
| "type" | "Dropdown" | yes |
| "ghost-string" | locale string | no |
'Edit'
Inherits generic widget values.
| Key | Value | Required? |
|---|---|---|
| "type" | "Edit" | yes |
| "password" | boolean | no |
| "ghost-string" | locale string | no |
'ScrollContainer'
Inherits generic widget values.
| Key | Value | Required? |
|---|---|---|
| "type" | "ScrollContainer" | yes |
| "content" | see Widget | yes |
'SkinElement'
Inherits generic widget values.
| Key | Value | Required? |
|---|---|---|
| "type" | "SkinElement" | yes |
| "skin-image" | string | yes |
| "content" | see Widget | yes |
'Tabs'
Inherits generic widget values.
| Key | Value | Required? |
|---|---|---|
| "type" | "Tabs" | yes |
| "elements" | sequence of Tabs | yes |
'TrustAndSecurity Button'
Inherits generic widget values.
| Key | Value | Required? |
|---|---|---|
| "type" | "TrustAndSecurity Button" | yes |
'UniteServicesView'
Inherits generic widget values.
| Key | Value | Required? |
|---|---|---|
| "type" | "UniteServicesView" | yes |