diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2007-05-03 23:55:29 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2007-05-03 23:55:29 (GMT) |
commit | ee1c7aed29d78ba980476c2811c2ab52cfa7effd (patch) | |
tree | 4cb66107a3851e1d671cba22ba92ba920d13a70d /doc | |
parent | dd0a64fd45a7fd8f6da652c02d01b49967931ad0 (diff) | |
download | tk-ee1c7aed29d78ba980476c2811c2ab52cfa7effd.zip tk-ee1c7aed29d78ba980476c2811c2ab52cfa7effd.tar.gz tk-ee1c7aed29d78ba980476c2811c2ab52cfa7effd.tar.bz2 |
Spelling fixes. [Bug 1686210]
Diffstat (limited to 'doc')
-rw-r--r-- | doc/canvas.n | 6 | ||||
-rw-r--r-- | doc/font.n | 51 | ||||
-rw-r--r-- | doc/menu.n | 4 | ||||
-rw-r--r-- | doc/tk.n | 4 | ||||
-rw-r--r-- | doc/ttk_checkbutton.n | 4 | ||||
-rw-r--r-- | doc/ttk_dialog.n | 6 | ||||
-rw-r--r-- | doc/ttk_panedwindow.n | 4 | ||||
-rw-r--r-- | doc/ttk_treeview.n | 4 |
8 files changed, 42 insertions, 41 deletions
diff --git a/doc/canvas.n b/doc/canvas.n index 5751d30..e436fd5 100644 --- a/doc/canvas.n +++ b/doc/canvas.n @@ -6,7 +6,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: canvas.n,v 1.23 2007/04/23 21:19:51 das Exp $ +'\" RCS: @(#) $Id: canvas.n,v 1.24 2007/05/03 23:55:29 dkf Exp $ '\" .so man.macros .TH canvas n 8.3 Tk "Tk Built-In Commands" @@ -53,9 +53,9 @@ one of: \fBnormal\fR, \fBdisabled\fR, or \fBhidden\fR. Individual canvas objects all have their own state option which may override the default state. Many options can take separate specifications such that the appearance of the item can be different in different situations. The -options that start with \fBactive\fR control the appearence when the mouse +options that start with \fBactive\fR control the appearance when the mouse pointer is over it, while the option starting with \fBdisabled\fR controls -the appearence when the state is disabled. Canvas items which are +the appearance when the state is disabled. Canvas items which are \fBdisabled\fR will not react to canvas bindings. .OP \-width width width Specifies a desired window width that the canvas widget should request from @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: font.n,v 1.10 2007/04/23 21:19:51 das Exp $ +'\" RCS: @(#) $Id: font.n,v 1.11 2007/05/03 23:55:29 dkf Exp $ '\" .so man.macros .TH font n 8.0 Tk "Tk Built-In Commands" @@ -38,13 +38,14 @@ See FONT OPTIONS below for a list of the possible attributes. If the attributes returned will be those of the specific font used to render that character, which will be different from the base font if the base font does not contain the given character. If \fIchar\fR may be a hyphen, it -should be preceded by \fB--\fR to distinguish it from a misspelt \fIoption\fR. +should be preceded by \fB--\fR to distinguish it from a misspelled +\fIoption\fR. .TP -\fBfont configure \fIfontname\fR ?\fIoption\fR? ?\fIvalue option value ...\fR? +\fBfont configure \fIfontname\fR ?\fIoption\fR? ?\fIvalue option value ...\fR? . Query or modify the desired attributes for the named font called \fIfontname\fR. If no \fIoption\fR is specified, returns a list describing -all the options and their values for \fIfontname\fR. If a single \fIoption\fR +all the options and their values for \fIfontname\fR. If a single \fIoption\fR is specified with no \fIvalue\fR, then returns the current value of that attribute. If one or more \fIoption\fR\-\fIvalue\fR pairs are specified, then the command modifies the given named font to have the given values; in @@ -72,11 +73,11 @@ and redisplay themselves using the new attributes of that font. .TP \fBfont families\fR ?\fB\-displayof \fIwindow\fR? . -The return value is a list of the case-insensitive names of all font families +The return value is a list of the case-insensitive names of all font families that exist on \fIwindow\fR's display. If the \fIwindow\fR argument is omitted, it defaults to the main window. .TP -\fBfont measure \fIfont\fR ?\fB\-displayof \fIwindow\fR? \fItext\fR +\fBfont measure \fIfont\fR ?\fB\-displayof \fIwindow\fR? \fItext\fR . Measures the amount of space the string \fItext\fR would use in the given \fIfont\fR when displayed in \fIwindow\fR. \fIfont\fR is a font description; @@ -93,7 +94,7 @@ Returns information about the metrics (the font-specific data), for \fIfont\fR when it is used on \fIwindow\fR's display. \fIfont\fR is a font description; see FONT DESCRIPTIONS below. If the \fIwindow\fR argument is omitted, it defaults to the main window. If \fIoption\fR is specified, -returns the value of that metric; if it is omitted, the return value is a +returns the value of that metric; if it is omitted, the return value is a list of all the metrics and their values. See FONT METRICS below for a list of the possible metrics. .TP @@ -105,7 +106,7 @@ The following formats are accepted as a font description anywhere \fIfont\fR is specified as an argument above; these same forms are also permitted when specifying the \fB\-font\fR option for widgets. .TP -[1] \fIfontname\fR +[1] \fIfontname\fR . The name of a named font, created using the \fBfont create\fR command. When a widget uses a named font, it is guaranteed that this will never cause an @@ -132,11 +133,11 @@ for the \fIstyle\fR arguments are as follows: .RS .DS .ta 3c 6c 9c -\fBnormal bold roman italic +\fBnormal bold roman italic underline overstrike\fR .DE .RE -.TP +.TP [4] X-font names (XLFD) . A Unix-centric font name of the form @@ -166,14 +167,14 @@ platforms and the closest available font will be used. In some situations it may not be possible to find any close font (e.g., the font family was a garbage value); in that case, some system-dependant default font is chosen. If the font description does not match any of the above patterns, -an error is generated. +an error is generated. .SH "FONT METRICS" . The following options are used by the \fBfont metrics\fR command to query font-specific data determined when the font was created. These properties are for the whole font itself and not for individual characters drawn in that -font. In the following definitions, the ``baseline'' of a font is the -horizontal line where the bottom of most letters line up; certain letters, +font. In the following definitions, the ``baseline'' of a font is the +horizontal line where the bottom of most letters line up; certain letters, such as lower-case ``g'' stick below the baseline. .TP \fB\-ascent \0\fR @@ -181,7 +182,7 @@ such as lower-case ``g'' stick below the baseline. The amount in pixels that the tallest letter sticks up above the baseline of the font, plus any extra blank space added by the designer of the font. .TP -\fB\-descent \0\fR +\fB\-descent \0\fR . The largest amount in pixels that any letter sticks down below the baseline of the font, plus any extra blank space added by the designer of the font. @@ -197,16 +198,16 @@ above the baseline line plus the descent below the baseline. . Returns a boolean flag that is ``\fB1\fR'' if this is a fixed-width font, where each normal character is the same width as all the other -characters, or is ``\fB0\fR'' if this is a proportionally-spaced font, where -individual characters have different widths. The widths of control -characters, tab characters, and other non-printing characters are not +characters, or is ``\fB0\fR'' if this is a proportionally-spaced font, where +individual characters have different widths. The widths of control +characters, tab characters, and other non-printing characters are not included when calculating this value. .SH "FONT OPTIONS" The following options are supported on all platforms, and are used when constructing a named font or when specifying a font using style [5] as above: .TP -\fB\-family \fIname\fR +\fB\-family \fIname\fR . The case-insensitive font family name. Tk guarantees to support the font families named \fBCourier\fR (a monospaced ``typewriter'' font), \fBTimes\fR @@ -215,7 +216,7 @@ families named \fBCourier\fR (a monospaced ``typewriter'' font), \fBTimes\fR automatically be substituted when one of the above font families is used. The \fIname\fR may also be the name of a native, platform-specific font family; in that case it will work as desired on one platform but may not -display correctly on other platforms. If the family is unspecified or +display correctly on other platforms. If the family is unspecified or unrecognized, a platform-specific default font will be chosen. .TP \fB\-size \fIsize\fR @@ -224,8 +225,8 @@ The desired size of the font. If the \fIsize\fR argument is a positive number, it is interpreted as a size in points. If \fIsize\fR is a negative number, its absolute value is interpreted as a size in pixels. If a font cannot be displayed at the specified size, a nearby size will be -chosen. If \fIsize\fR is unspecified or zero, a platform-dependent default -size will be chosen. +chosen. If \fIsize\fR is unspecified or zero, a platform-dependant default +size will be chosen. .RS .PP Sizes should normally be specified in points so the application will remain @@ -237,7 +238,7 @@ the application starts, based on properties of the installed monitor, but it can be overridden by calling the \fBtk scaling\fR command. .RE .TP -\fB\-weight \fIweight\fR +\fB\-weight \fIweight\fR . The nominal thickness of the characters in the font. The value \fBnormal\fR specifies a normal weight font, while \fBbold\fR specifies a @@ -247,7 +248,7 @@ be chosen. The default weight is \fBnormal\fR. \fB\-slant \fIslant\fR The amount the characters in the font are slanted away from the vertical. Valid values for slant are \fBroman\fR and \fBitalic\fR. -A roman font is the normal, upright appearance of a font, while +A roman font is the normal, upright appearance of a font, while an italic font is one that is tilted some number of degrees from upright. The closest available slant to the one specified will be chosen. The default slant is \fBroman\fR. @@ -256,7 +257,7 @@ The default slant is \fBroman\fR. The value is a boolean flag that specifies whether characters in this font should be underlined. The default value for underline is \fBfalse\fR. .TP -\fB\-overstrike \fIboolean\fR +\fB\-overstrike \fIboolean\fR The value is a boolean flag that specifies whether a horizontal line should be drawn through the middle of characters in this font. The default value for overstrike is \fBfalse\fR. @@ -264,7 +265,7 @@ for overstrike is \fBfalse\fR. .LP The following named system fonts are supported: .RS -.TP +.TP X Windows: All valid X font names, including those listed by xlsfonts(1), are available. .TP @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: menu.n,v 1.14 2006/12/13 23:04:32 hobbs Exp $ +'\" RCS: @(#) $Id: menu.n,v 1.15 2007/05/03 23:55:29 dkf Exp $ '\" .so man.macros .TH menu n 4.1 Tk "Tk Built-In Commands" @@ -650,7 +650,7 @@ of the pulldowns. Once you have done this, specify the menu using the \fBtoplevel\fR manual entry for details. .TP \fBPulldown Menus in Menu Buttons\fR -This is the compatable way to do menu bars. You create one menubutton +This is the compatible way to do menu bars. You create one menubutton widget for each top-level menu, and typically you arrange a series of menubuttons in a row in a menubar window. You also create the top-level menus and any cascaded submenus, and tie them together with \fB\-menu\fR @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: tk.n,v 1.11 2006/11/16 13:44:02 dkf Exp $ +'\" RCS: @(#) $Id: tk.n,v 1.12 2007/05/03 23:55:29 dkf Exp $ '\" .so man.macros .TH tk n 8.4 Tk "Tk Built-In Commands" @@ -76,7 +76,7 @@ factor is set when the application starts, based on properties of the installed monitor, but it can be changed at any time. Measurements made after the scaling factor is changed will use the new scaling factor, but it is undefined whether existing widgets will resize themselves dynamically to -accomodate the new scaling factor. +accommodate the new scaling factor. .RE .TP \fBtk inactive \fR?\fB\-displayof \fIwindow\fR? ?\fBreset\fR? diff --git a/doc/ttk_checkbutton.n b/doc/ttk_checkbutton.n index d38d731..cd48748 100644 --- a/doc/ttk_checkbutton.n +++ b/doc/ttk_checkbutton.n @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: ttk_checkbutton.n,v 1.3 2006/12/13 23:04:32 hobbs Exp $ +'\" RCS: @(#) $Id: ttk_checkbutton.n,v 1.4 2007/05/03 23:55:29 dkf Exp $ '\" .so man.macros .TH ttk_checkbutton n 8.5 Tk "Tk Themed Widget" @@ -19,7 +19,7 @@ ttk_checkbutton \- On/off widget .SH DESCRIPTION A \fBttk::checkbutton\fR widget is used to show or change a setting. It has two states, selected and deselected. -The state of the checkbuton may be linked to a Tcl variable. +The state of the checkbutton may be linked to a Tcl variable. .SO \-class \-compound \-cursor \-image \-state \-style \-takefocus \-text diff --git a/doc/ttk_dialog.n b/doc/ttk_dialog.n index 41a30c6..f8b9398 100644 --- a/doc/ttk_dialog.n +++ b/doc/ttk_dialog.n @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: ttk_dialog.n,v 1.3 2006/12/13 23:04:33 hobbs Exp $ +'\" RCS: @(#) $Id: ttk_dialog.n,v 1.4 2007/05/03 23:55:30 dkf Exp $ '\" .so man.macros .TH ttk_dialog n 8.5 Tk "Tk Themed Widget" @@ -33,7 +33,7 @@ Specifies a string to use as the window manager title. .OP \-message undefined undefined Specifies the message to display in this dialog. .OP \-detail undefined undefined -Specifies a longer auxilliary message. +Specifies a longer auxiliary message. .OP \-command undefined undefined Specifies a command prefix to be invoked when the user presses one of the command buttons. @@ -51,7 +51,7 @@ See \fBPREDEFINED DIALOG TYPES\fR, below. Specifies one of the stock dialog icons, \fBinfo\fR, \fBquestion\fR, \fBwarning\fR, \fBerror\fR, \fBauth\fR, or \fBbusy\fR. -If set to the empty string (the defalt), no icon is displayed. +If set to the empty string (the default), no icon is displayed. .OP \-buttons undefined undefined A list of symbolic button names. .OP \-labels undefined undefined diff --git a/doc/ttk_panedwindow.n b/doc/ttk_panedwindow.n index 43eea62..d823473 100644 --- a/doc/ttk_panedwindow.n +++ b/doc/ttk_panedwindow.n @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: ttk_panedwindow.n,v 1.3 2006/12/13 23:04:33 hobbs Exp $ +'\" RCS: @(#) $Id: ttk_panedwindow.n,v 1.4 2007/05/03 23:55:30 dkf Exp $ '\" .so man.macros .TH ttk_panedwindow n 8.5 Tk "Tk Themed Widget" @@ -40,7 +40,7 @@ The following options may be specified for each pane: .OP \-weight weight Weight An integer specifying the relative stretchability of the pane. When the paned window is resized, the extra space is added -or subracted to each pane proportionally to its \fB-weight\fR. +or subtracted to each pane proportionally to its \fB-weight\fR. .SH "WIDGET COMMAND" Supports the standard \fBconfigure\fR, \fBcget\fR, \fBstate\fR, diff --git a/doc/ttk_treeview.n b/doc/ttk_treeview.n index 63c354d..f80b458 100644 --- a/doc/ttk_treeview.n +++ b/doc/ttk_treeview.n @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: ttk_treeview.n,v 1.4 2006/12/18 19:33:13 jenglish Exp $ +'\" RCS: @(#) $Id: ttk_treeview.n,v 1.5 2007/05/03 23:55:30 dkf Exp $ '\" .so man.macros .TH ttk_treeview n 8.5 Tk "Tk Themed Widget" @@ -365,7 +365,7 @@ the remaining values are assumed empty. If there are more values than columns, the extra values are ignored. .OP \-open open Open -A boolean value indicating whether the items's children +A boolean value indicating whether the item's children should be displayed (\fB-open true\fR) or hidden (\fB-open false\fR). .OP \-tags tags Tags A list of tags associated with this item. |