collections { "collections represents a theme.
A collections block contains a list of group that composes a theme."; group { "group represents a widget style.
A group block contains parts and programs that compose a widget style."; parts { "parts represents visual elements.
A parts block contains a list of part that describes a basic design element."; part { "part represents a basic design element such as an image, rectangle or text.
A part block contains a list of description that defines a state of the element."; desc { "desc defines a state of a part.
A desc block contains properties of a part such as a size, position, color, image and text."; } } image { "image represents an image part. image is used to display an image file.
A image block contains a list of description that defines a state of the image part."; desc { "desc defines a state of a part.
A desc block inside of an image block contains properties of the image part such as an image resource file, size, position and color."; } } rect { "rect represents a rectangle part. rect is used to draw a rectangle.
A rect block contains a list of description that defines a state of the rectangle part."; desc { "desc defines a state of a part.
A desc block inside of a rect block contains properties of the rect part such as a size, position and color."; } } text { "text represents a text part. text is used to write a simple string with single line in this part.
A text block contains a list of description that defines a state of the text part."; desc { "desc defines a state of a part.
A desc block inside of a text block contains properties of the text part such as a text font, text size, text position and text color."; } } textblock { "textblock represents a textblock part. textblock is used to write complex strings and mark-up elements with multiple lines in this part.
A textblock block contains a list of description that defines a state of the textblock part."; desc { "desc defines a state of a part.
A desc block inside of a textblock block contains properties of the textblock part such as a text style, text font, text size, text position and text color."; } } swallow { "swallow represents a swallow part. swallow is used to set a widget into this part.
A swallow block contains a list of description that defines a state of the swallow part."; desc { "desc defines a state of a part.
A desc block inside of a swallow block contains properties of the swallow part such as size and position."; } } } programs { "programs defines how your interface reacts to events.
A programs block contains a list of program that reacts to events."; program { "program defines how your interface reacts to events. program can change the state of parts and trigger/listen events.
A program block contains signal, source, action and target.
signal is an event that the program is waiting for.
source is a part that catches the signal. (e.g. mouse clicking area)
action defines what is going to do when the signal is caught. (e.g. changing the state of a part)
target is a part that changes its state."; } } } } }