From 75791dad3c3d9947598d34c7e0f3470126b401e4 Mon Sep 17 00:00:00 2001 From: vincentdarley Date: Thu, 25 Mar 2004 12:12:35 +0000 Subject: Fix typos in documentation --- doc/Name.3 | 4 ++-- doc/SetOptions.3 | 4 ++-- doc/WindowId.3 | 4 ++-- doc/event.n | 6 +++--- doc/font.n | 6 +++--- doc/getOpenFile.n | 4 ++-- doc/listbox.n | 6 +++--- doc/toplevel.n | 4 ++-- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/doc/Name.3 b/doc/Name.3 index 6f10d97..9357a3b 100644 --- a/doc/Name.3 +++ b/doc/Name.3 @@ -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: Name.3,v 1.3 2002/01/25 21:09:36 dgp Exp $ +'\" RCS: @(#) $Id: Name.3,v 1.4 2004/03/25 12:12:35 vincentdarley Exp $ '\" .so man.macros .TH Tk_Name 3 "" Tk "Tk Library Procedures" @@ -57,7 +57,7 @@ Path names have a structure similar to file names in Unix but with dots between elements instead of slashes: the main window for an application has the path name ``.''; its children have names like ``.a'' and ``.b''; their children have names like ``.a.aa'' and -``.b.bb''; and so on. A window is considered to be be a child of +``.b.bb''; and so on. A window is considered to be a child of another window for naming purposes if the second window was named as the first window's \fIparent\fR when the first window was created. This is not always the same as the X window hierarchy. For diff --git a/doc/SetOptions.3 b/doc/SetOptions.3 index 7abc944..1912e31 100644 --- a/doc/SetOptions.3 +++ b/doc/SetOptions.3 @@ -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: SetOptions.3,v 1.8 2000/10/01 21:31:35 ericm Exp $ +'\" RCS: @(#) $Id: SetOptions.3,v 1.9 2004/03/25 12:12:36 vincentdarley Exp $ '\" .so man.macros .TH Tk_SetOptions 3 8.1 Tk "Tk Library Procedures" @@ -493,7 +493,7 @@ the original screen-independent value. Thus for TK_OPTION_PIXELS options it is better to use the \fIobjOffset\fR field. In this case the original value of the option is retained in the object and can be returned when the option is retrieved. In most cases it is convenient to use the -\fIinternalOffset\fR field field as well, so that the integer value is +\fIinternalOffset\fR field as well, so that the integer value is immediately available for use in the widget code (alternatively, \fBTk_GetPixelsFromObj\fR can be used to extract the integer value from the object whenever it is needed). Note: the problem of losing information diff --git a/doc/WindowId.3 b/doc/WindowId.3 index 8f930c8..c34fff3 100644 --- a/doc/WindowId.3 +++ b/doc/WindowId.3 @@ -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: WindowId.3,v 1.7 2002/08/05 04:30:38 dgp Exp $ +'\" RCS: @(#) $Id: WindowId.3,v 1.8 2004/03/25 12:12:36 vincentdarley Exp $ '\" .so man.macros .TH Tk_WindowId 3 "8.4" Tk "Tk Library Procedures" @@ -146,7 +146,7 @@ is a container, and that some other application may be embedding itself inside \fItkwin\fR. .PP \fBTk_IsEmbedded\fR returns a non-zero value if \fItkwin\fR -is is not a free-standing window, but rather is embedded in some +is not a free-standing window, but rather is embedded in some other application. .PP \fBTk_IsMapped\fR returns a non-zero value if \fItkwin\fR diff --git a/doc/event.n b/doc/event.n index 1d0ead2..cbc36bb 100644 --- a/doc/event.n +++ b/doc/event.n @@ -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: event.n,v 1.6 2000/11/03 01:13:51 hobbs Exp $ +'\" RCS: @(#) $Id: event.n,v 1.7 2004/03/25 12:12:36 vincentdarley Exp $ '\" .so man.macros .TH event n 8.3 Tk "Tk Built-In Commands" @@ -280,7 +280,7 @@ Valid for \fBKeyPress\fR, \fBKeyRelease\fR, \fBButtonPress\fR, \fBButtonRelease\fR, \fBMotion\fR, \fBEnter\fR, \fBLeave\fR, \fBExpose\fR, \fBConfigure\fR, \fBGravity\fR, and \fBReparent\fR events. -Corresponds to the the \fB%x\fR substitution for binding scripts. +Corresponds to the \fB%x\fR substitution for binding scripts. If \fIWindow\fR is empty the coordinate is relative to the screen, and this option corresponds to the \fB%X\fR substitution for binding scripts. @@ -292,7 +292,7 @@ Valid for \fBKeyPress\fR, \fBKeyRelease\fR, \fBButtonPress\fR, \fBButtonRelease\fR, \fBMotion\fR, \fBEnter\fR, \fBLeave\fR, \fBExpose\fR, \fBConfigure\fR, \fBGravity\fR, and \fBReparent\fR events. -Corresponds to the the \fB%y\fR substitution for binding scripts. +Corresponds to the \fB%y\fR substitution for binding scripts. If \fIWindow\fR is empty the coordinate is relative to the screen, and this option corresponds to the \fB%Y\fR substitution for binding scripts. diff --git a/doc/font.n b/doc/font.n index dc28acd..104be90 100644 --- a/doc/font.n +++ b/doc/font.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: font.n,v 1.3 2000/07/25 21:14:35 jenglish Exp $ +'\" RCS: @(#) $Id: font.n,v 1.4 2004/03/25 12:12:36 vincentdarley Exp $ '\" .so man.macros .TH font n 8.0 Tk "Tk Built-In Commands" @@ -24,7 +24,7 @@ first argument. The following forms are currently supported: .TP \fBfont actual \fIfont\fR ?\fB\-displayof \fIwindow\fR? ?\fIoption\fR? . -Returns information about the the actual attributes that are obtained when +Returns information about the actual attributes that are obtained when \fIfont\fR is used on \fIwindow\fR's display; the actual attributes obtained may differ from the attributes requested due to platform-dependant limitations, such as the availability of font families and pointsizes. @@ -192,7 +192,7 @@ above the baseline line plus the descent below the baseline. \fB\-fixed \0\fR . Returns a boolean flag that is ``\fB1\fR'' if this is a fixed-width font, -where each normal character is the the same width as all the other +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 diff --git a/doc/getOpenFile.n b/doc/getOpenFile.n index 18ac2ca..09106a8 100644 --- a/doc/getOpenFile.n +++ b/doc/getOpenFile.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: getOpenFile.n,v 1.10 2002/04/19 22:16:02 jenglish Exp $ +'\" RCS: @(#) $Id: getOpenFile.n,v 1.11 2004/03/25 12:12:36 vincentdarley Exp $ '\" .so man.macros .TH tk_getOpenFile n 4.2 Tk "Tk Built-In Commands" @@ -128,7 +128,7 @@ in the sample code matches files that EITHER have a \fB\.gif\fR extension OR belong to the \fImacType\fR \fBGIFF\fR. .PP On the Unix and Windows platforms, a file matches a file pattern -if its name matches at at least one of the \fIextension\fR(s) of +if its name matches at least one of the \fIextension\fR(s) of the file pattern. The \fImacType\fRs are ignored. .SH "SPECIFYING EXTENSIONS" .PP diff --git a/doc/listbox.n b/doc/listbox.n index 7326497..c84d1d2 100644 --- a/doc/listbox.n +++ b/doc/listbox.n @@ -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: listbox.n,v 1.9 2002/06/21 02:38:54 hobbs Exp $ +'\" RCS: @(#) $Id: listbox.n,v 1.10 2004/03/25 12:12:36 vincentdarley Exp $ '\" .so man.macros .TH listbox n 8.4 Tk "Tk Built-In Commands" @@ -509,11 +509,11 @@ by one page (the height of the window). The Home and End keys scroll the listbox horizontally to the left and right edges, respectively. .IP [10] -Control-Home sets the location cursor to the the first element in +Control-Home sets the location cursor to the first element in the listbox, selects that element, and deselects everything else in the listbox. .IP [11] -Control-End sets the location cursor to the the last element in +Control-End sets the location cursor to the last element in the listbox, selects that element, and deselects everything else in the listbox. .IP [12] diff --git a/doc/toplevel.n b/doc/toplevel.n index 78d4e56..c104e97 100644 --- a/doc/toplevel.n +++ b/doc/toplevel.n @@ -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: toplevel.n,v 1.4 2001/09/26 21:36:19 pspjuth Exp $ +'\" RCS: @(#) $Id: toplevel.n,v 1.5 2004/03/25 12:12:36 vincentdarley Exp $ '\" .so man.macros .TH toplevel n 8.4 Tk "Tk Built-In Commands" @@ -75,7 +75,7 @@ database, and it may not be modified with the \fBconfigure\fR widget command. .OP \-use use Use This option is used for embedding. If the value isn't an empty string, -it must be the the window identifier of a container window, specified as +it must be the window identifier of a container window, specified as a hexadecimal string like the ones returned by the \fBwinfo id\fR command. The toplevel widget will be created as a child of the given container instead of the root window for the screen. If the container -- cgit v0.12