The following pages were derived by Vita Nuova from documentation that is
The format of the pages has changed to follow the format of the rest of this manual, but more important, the content has been changed (typically in small ways) to reflect the variant of Tk implemented by Inferno.
There is also a `super quote' convention: at any point in the command string a single quote mark (') means that the entire rest of the string should be treated as one word.
A word beginning with an opening brace ({) continues until the balancing closing brace (}) is reached. The outer brace characters are stripped. A backslash can be used to escape a brace in this context. Backslash characters not used to escape braces are left unchanged.
A word beginning with an opening bracket ([) continues until the balancing closing bracket (]) is reached. The enclosed string is then evaluated as if it were a command string, and the resulting value is used as the contents of the word.
Single commands are executed in order until they are all done or an error is encountered. By convention, an error is signaled by a return value starting with an exclamation mark (!). The return value from tk->cmd is the return value of the first error-producing command or else the return value of the final single command.
To execute a single command, the first word is examined. It must either begin with dot (.) in which case it must name an existing widget, which will interpret the rest of the command according to its type, or one of the following words, each of which is documented in a manual page of that name in this section:
bind focus lower scrollbar button frame menu see canvas grab menubutton send checkbutton grid pack text cursor image radiobutton update destroy label raise variable entry listbox scale
INTRO(9 ) | Rev: Tue Mar 31 02:42:39 GMT 2015 |