<iconbar> sprite  : "!Alarm"
          on-click: -open mainwindow
          on-menu : -open mainmenu

<menu mainmenu> text:"TWimp"
<item>          text:"Quit"   on-click:QUIT

<window mainwindow> text:"Main Window"
 auto-size
 no-scroll-bars

// A popup item is made along with a quickly defined menu (quick-pop-up)
// The first item is the title, followed by the menu items
// Each is text followed by '/' after the quote and then a tag
// A tag is used for language translation (coming in a later version)
//  but can also read back in by your program
// Result displays the text in the popup while tag shows the tag
// You can change the text in the popup-menu and you will still get
//  the value C1, C2 or C3 when you read the tag
// If you use tags it leaves you free to change the text without having
//  to update your program
// This has been made into a writable icon. If this is changed by typing
//  the tag becomes an empty string if your program asks for it

<popup popup>
 width        : 600
 writable
 quick-pop-up : 'Title'/T1,
                'Choice A'/C1,
                'Choice B'/C2,
                'Choice C'/C3
 on-change    : RESULT

<display result>
<display tag>