procedure :galley name Creates a galley widget within the current panel frame for the TCL interpreter. A galley widget is a frame window containing a scrollbar window and a text window. name is used to generate the path name of the windows to be created. It should have the format of a widget name (e.g. :galley GALY) and should be unique within this interpreter. The name will be lower-cased (using the string tolower command) in order to generate the path name used to create the windows. A galley widget is non interactive (apart from the scroll bar) and thus no click procedure is invoked. The :galley procedure may also be used directly within a frame window (i.e. before any panel window has been created). A binding is made to the keyboard Control + P sequence which causes the contents of the text window to be sent to the printer. A binding is made to the keyboard Control + S sequence which causes the contents of the text window to be saved to file. The :galley procedure may have a number of arguments however none of these is mandatory. arguments :x number number is the x-co-ordinate within the current panel of the galley widget in pixels :y number number is the y-co-ordinate within the current panel of the galley widget in pixels The :x and :y parameters may be omitted in which case the packer geometry manager will be used and the position of the window will be determined by the contents of the master (panel) window. If however the :x and :y parameters are supplied then the placer geometry manager will be used to position the window within the master (panel) window. Warning: Note that it is not possible to mix use of the packer and placer geometry managers within the same window. Thus all windows within a panel must request or imply that the same geometry manager is used. :rows number number is the number of rows of text to be contained by the text window. This is used to define the height of the text and scrollbar windows. :cols number number is the number of columns of text to be contained by the text window. This is used to define the width of the text window and is used to position the scrollbar window. :strings string string is any text string which is to be written into the text component of the galley widget. It may contain any characters acceptable to the text window. Lines of text longer than the width of the text window will be wrapped at word boundaries. The default is that the text is left empty. :see number Makes the first character on the line after the one given by number visible at the top of the window. By default when text is written into the window the last line written is left visible at the bottom of the window. For compatibility with use in other commands :show is recognised as an alias for :see. :font fixed|variable Specifies the type of font to be used for the text window. The default is a varible width font. :size S|N|L Specifies the size of the font to be used for characters in the text window. Options available are small (S); normal (N) and large (L). The default is that size N (normal) is used. :scroll V|H|B|N Specifies the generation and location of scroll-bar windows. These may be omitted (N - none); be drawn only vertically to the right of the text window (V - vertical); be drawn only horizontally below the text window (H - horizontal) or be drawn both vertically and horizontally (B - both). The default option is V. See also common procedure arguments defined later in this document.