Docs GODI Archive
Projects Blog Knowledge

Look up function:

(e.g. "List.find" or "keysym")
More options

The UI language
 ui:alist-value and ui:alist-item
 ui:dyn-enum-value and ui:dyn-enum-item
 ui:enum-value and ui:enum-item
 ui:enumeration and ui:enum
 ui:text and ui:password
 t:*, q:*, and p:*
 Dot notation (v1.v2)
The elements ui:enum-value and ui:enum-item

The element ui:enum-value represents an enumerator literal that can be used to set the initial value of a ui:variable. The element ui:enum-item represents one enumerated item.


Level: Dialog structure

<!ELEMENT ui:enum-value (ui:enum-item)* >

<!ELEMENT ui:enum-item EMPTY>

<!ATTLIST ui:enum-item
          internal  NMTOKEN  #REQUIRED>

  • internal: The internal value identifying the enumerated item


<ui:enumeration name="fruit">
  <ui:enum internal="apple"  external="I like apples"/>
  <ui:enum internal="orange" external="I like oranges"/>
  <ui:enum internal="banana" external="I like bananas"/>

<ui:variable name="preference" type="fruit">
    <ui:enum-item internal="orange"/>
    <ui:enum-item internal="banana"/>
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml