KON file

A KON file is an XML file with the ".KON" file extension that is used to define a Widget. Every Widget must have exactly one KON file. Most publicly released Widgets "hide" their KON files inside a Widget file.

Syntax
XML syntax is pretty simple to learn, especially if you are familiar with another markup language, such as HTML. It's probably simplest to learn by example.

Examples
The first two examples below do exactly the same thing, using rather different styles of XML.

Atribute-centric example
Attribute-centric means that the XML is written with a preference for using XML "attributes" instead of "elements," where possible.  

Element-centric example
Element-centric means that the XML is written with a preference for using XML "elements" instead of "attributes," where possible. on    main 320    240       background Resources/background.png 127      0 0 320      240       background.opacity = 255; background.opacity = 127;