Manual
User Interface Configuration File SyntaxThis document describes the syntax of the configuration file used for user interface configuration. The configuration file syntax differs from the syntax of API commands, although some terminal and non-terminal symbols are the same. Terminal symbols are written in bold face and non-terminal symbols are written with a link referring to the corresponding rule. Each line of the configuration file starts with a terminal symbol. Therefore the newline characters in the syntax rules have to occur in the file. For example, by applying rule menubar1 one line of the configuration file can be:
This must be followed by a newline character (so the example above must be on a separate line) and the next line must be of type menu1 (and probably more separate lines of that type). Afterward, the terminal symbol "finish_menu" must follow on a separate line. Indent (white space) is not part of the syntax, but should be used in order to obtain better readability in the file. Please look at the files with suffix ".menu" in directory "$UDG_HOME/lib/uDrawGraph" for examples of configuration files. Non-terminal symbol enclosed in "?" are optional, the meta-symbols "?" are not part of the syntax. The place holder <nothing> is used for an empty string and is not part of the syntax, too. Please refer to the section user interface configuration for an explanation of the non-terminal symbols "string" and "lang_string". Grammar with Syntax Rules
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||