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:dyn-enum-value and ui:dyn-enum-item

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


Level: Dialog structure

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

<!ELEMENT ui:dyn-enum-item EMPTY>

<!ATTLIST ui:dyn-enum-item
          internal  NMTOKEN  #REQUIRED
          external  CDATA    #IMPLIED >

  • internal: The internal value identifying the enumerated item

  • external: The corresponding external value for display purposes. If omitted, the internal value is also used as external value.


<ui:variable name="preference" type="dynamic-enumerator">
    <ui:dyn-enum-item internal="orange" external="I like oranges"/>
    <ui:dyn-enum-item internal="banana" external="I like bananas"/>
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml