diff options
-rw-r--r-- | ChangeLog | 16 | ||||
-rw-r--r-- | doc/bind.n | 4 | ||||
-rw-r--r-- | doc/colors.n | 776 | ||||
-rw-r--r-- | doc/cursors.n | 149 | ||||
-rw-r--r-- | doc/keysyms.n | 921 | ||||
-rw-r--r-- | doc/messageBox.n | 7 | ||||
-rw-r--r-- | doc/options.n | 5 | ||||
-rw-r--r-- | library/msgbox.tcl | 27 |
8 files changed, 1887 insertions, 18 deletions
@@ -1,3 +1,19 @@ +2000-04-27 Eric Melski <ericm@scriptics.com> + + * doc/keysyms.n: Man page enumerating keysyms [RFE: 1645]. + + * doc/colors.n: Man page enumerating valid color names [RFE: 1645]. + + * doc/cursors.n: Man page enumerating valid cursor values [RFE: 1645]. + + * library/msgbox.tcl: Corrected Unix tk_messageBox implementation + to make the first button the default when no default is specified + [Bug: 2218]. + + * doc/messageBox.n: Updated documentation with regards to + selection of default button when none is specified (now it will + use the first button as the default in that case) [Bug: 2218]. + 2000-04-26 Jeff Hobbs <hobbs@scriptics.com> 8.3.1 RELEASE @@ -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: bind.n,v 1.3 1998/10/10 00:30:35 rjohnson Exp $ +'\" RCS: @(#) $Id: bind.n,v 1.4 2000/04/27 18:28:54 ericm Exp $ '\" .so man.macros .TH bind n 8.0 Tk "Tk Built-In Commands" @@ -517,7 +517,7 @@ The \fBbgerror\fR command will be executed at global level (outside the context of any Tcl procedure). .SH "SEE ALSO" -bgerror +bgerror, keysyms .SH KEYWORDS form, manual diff --git a/doc/colors.n b/doc/colors.n new file mode 100644 index 0000000..4fa8966 --- /dev/null +++ b/doc/colors.n @@ -0,0 +1,776 @@ +'\" +'\" Copyright (c) 1998-2000 by Scriptics Corporation. +'\" All rights reserved. +'\" +'\" RCS: @(#) $Id: colors.n,v 1.1 2000/04/27 18:28:54 ericm Exp $ +'\" +'\" +.so man.macros +.TH colors n 8.3 Tk "Tk Built-In Commands" +.BS +'\" Note: do not modify the .SH NAME line immediately below! +.SH NAME +colors \- symbolic color names recognized by Tk + +.SH DESCRIPTION +.PP +Tk recognizes many symbolic color names (eg, \fBred\fR) when +specifying colors. The symbolic names recognized by Tk and their +8-bit RGB values are: +.CS +alice blue 240 248 248 +AliceBlue 240 248 248 +antique white 250 235 235 +AntiqueWhite 250 235 235 +AntiqueWhite1 255 239 239 +AntiqueWhite2 238 223 223 +AntiqueWhite3 205 192 192 +AntiqueWhite4 139 131 131 +aquamarine 127 255 255 +aquamarine1 127 255 255 +aquamarine2 118 238 238 +aquamarine3 102 205 205 +aquamarine4 69 139 139 +azure 240 255 255 +azure1 240 255 255 +azure2 224 238 238 +azure3 193 205 205 +azure4 131 139 139 +beige 245 245 245 +bisque 255 228 228 +bisque1 255 228 228 +bisque2 238 213 213 +bisque3 205 183 183 +bisque4 139 125 125 +black 0 0 0 +blanched almond 255 235 235 +BlanchedAlmond 255 235 235 +blue 0 0 0 +blue violet 138 43 43 +blue1 0 0 0 +blue2 0 0 0 +blue3 0 0 0 +blue4 0 0 0 +BlueViolet 138 43 43 +brown 165 42 42 +brown1 255 64 64 +brown2 238 59 59 +brown3 205 51 51 +brown4 139 35 35 +burlywood 222 184 184 +burlywood1 255 211 211 +burlywood2 238 197 197 +burlywood3 205 170 170 +burlywood4 139 115 115 +cadet blue 95 158 158 +CadetBlue 95 158 158 +CadetBlue1 152 245 245 +CadetBlue2 142 229 229 +CadetBlue3 122 197 197 +CadetBlue4 83 134 134 +chartreuse 127 255 255 +chartreuse1 127 255 255 +chartreuse2 118 238 238 +chartreuse3 102 205 205 +chartreuse4 69 139 139 +chocolate 210 105 105 +chocolate1 255 127 127 +chocolate2 238 118 118 +chocolate3 205 102 102 +chocolate4 139 69 69 +coral 255 127 127 +coral1 255 114 114 +coral2 238 106 106 +coral3 205 91 91 +coral4 139 62 62 +cornflower blue 100 149 149 +CornflowerBlue 100 149 149 +cornsilk 255 248 248 +cornsilk1 255 248 248 +cornsilk2 238 232 232 +cornsilk3 205 200 200 +cornsilk4 139 136 136 +cyan 0 255 255 +cyan1 0 255 255 +cyan2 0 238 238 +cyan3 0 205 205 +cyan4 0 139 139 +dark blue 0 0 0 +dark cyan 0 139 139 +dark goldenrod 184 134 134 +dark gray 169 169 169 +dark green 0 100 100 +dark grey 169 169 169 +dark khaki 189 183 183 +dark magenta 139 0 0 +dark olive green 85 107 107 +dark orange 255 140 140 +dark orchid 153 50 50 +dark red 139 0 0 +dark salmon 233 150 150 +dark sea green 143 188 188 +dark slate blue 72 61 61 +dark slate gray 47 79 79 +dark slate grey 47 79 79 +dark turquoise 0 206 206 +dark violet 148 0 0 +DarkBlue 0 0 0 +DarkCyan 0 139 139 +DarkGoldenrod 184 134 134 +DarkGoldenrod1 255 185 185 +DarkGoldenrod2 238 173 173 +DarkGoldenrod3 205 149 149 +DarkGoldenrod4 139 101 101 +DarkGray 169 169 169 +DarkGreen 0 100 100 +DarkGrey 169 169 169 +DarkKhaki 189 183 183 +DarkMagenta 139 0 0 +DarkOliveGreen 85 107 107 +DarkOliveGreen1 202 255 255 +DarkOliveGreen2 188 238 238 +DarkOliveGreen3 162 205 205 +DarkOliveGreen4 110 139 139 +DarkOrange 255 140 140 +DarkOrange1 255 127 127 +DarkOrange2 238 118 118 +DarkOrange3 205 102 102 +DarkOrange4 139 69 69 +DarkOrchid 153 50 50 +DarkOrchid1 191 62 62 +DarkOrchid2 178 58 58 +DarkOrchid3 154 50 50 +DarkOrchid4 104 34 34 +DarkRed 139 0 0 +DarkSalmon 233 150 150 +DarkSeaGreen 143 188 188 +DarkSeaGreen1 193 255 255 +DarkSeaGreen2 180 238 238 +DarkSeaGreen3 155 205 205 +DarkSeaGreen4 105 139 139 +DarkSlateBlue 72 61 61 +DarkSlateGray 47 79 79 +DarkSlateGray1 151 255 255 +DarkSlateGray2 141 238 238 +DarkSlateGray3 121 205 205 +DarkSlateGray4 82 139 139 +DarkSlateGrey 47 79 79 +DarkTurquoise 0 206 206 +DarkViolet 148 0 0 +deep pink 255 20 20 +deep sky blue 0 191 191 +DeepPink 255 20 20 +DeepPink1 255 20 20 +DeepPink2 238 18 18 +DeepPink3 205 16 16 +DeepPink4 139 10 10 +DeepSkyBlue 0 191 191 +DeepSkyBlue1 0 191 191 +DeepSkyBlue2 0 178 178 +DeepSkyBlue3 0 154 154 +DeepSkyBlue4 0 104 104 +dim gray 105 105 105 +dim grey 105 105 105 +DimGray 105 105 105 +DimGrey 105 105 105 +dodger blue 30 144 144 +DodgerBlue 30 144 144 +DodgerBlue1 30 144 144 +DodgerBlue2 28 134 134 +DodgerBlue3 24 116 116 +DodgerBlue4 16 78 78 +firebrick 178 34 34 +firebrick1 255 48 48 +firebrick2 238 44 44 +firebrick3 205 38 38 +firebrick4 139 26 26 +floral white 255 250 250 +FloralWhite 255 250 250 +forest green 34 139 139 +ForestGreen 34 139 139 +gainsboro 220 220 220 +ghost white 248 248 248 +GhostWhite 248 248 248 +gold 255 215 215 +gold1 255 215 215 +gold2 238 201 201 +gold3 205 173 173 +gold4 139 117 117 +goldenrod 218 165 165 +goldenrod1 255 193 193 +goldenrod2 238 180 180 +goldenrod3 205 155 155 +goldenrod4 139 105 105 +gray 190 190 190 +gray0 0 0 0 +gray1 3 3 3 +gray2 5 5 5 +gray3 8 8 8 +gray4 10 10 10 +gray5 13 13 13 +gray6 15 15 15 +gray7 18 18 18 +gray8 20 20 20 +gray9 23 23 23 +gray10 26 26 26 +gray11 28 28 28 +gray12 31 31 31 +gray13 33 33 33 +gray14 36 36 36 +gray15 38 38 38 +gray16 41 41 41 +gray17 43 43 43 +gray18 46 46 46 +gray19 48 48 48 +gray20 51 51 51 +gray21 54 54 54 +gray22 56 56 56 +gray23 59 59 59 +gray24 61 61 61 +gray25 64 64 64 +gray26 66 66 66 +gray27 69 69 69 +gray28 71 71 71 +gray29 74 74 74 +gray30 77 77 77 +gray31 79 79 79 +gray32 82 82 82 +gray33 84 84 84 +gray34 87 87 87 +gray35 89 89 89 +gray36 92 92 92 +gray37 94 94 94 +gray38 97 97 97 +gray39 99 99 99 +gray40 102 102 102 +gray41 105 105 105 +gray42 107 107 107 +gray43 110 110 110 +gray44 112 112 112 +gray45 115 115 115 +gray46 117 117 117 +gray47 120 120 120 +gray48 122 122 122 +gray49 125 125 125 +gray50 127 127 127 +gray51 130 130 130 +gray52 133 133 133 +gray53 135 135 135 +gray54 138 138 138 +gray55 140 140 140 +gray56 143 143 143 +gray57 145 145 145 +gray58 148 148 148 +gray59 150 150 150 +gray60 153 153 153 +gray61 156 156 156 +gray62 158 158 158 +gray63 161 161 161 +gray64 163 163 163 +gray65 166 166 166 +gray66 168 168 168 +gray67 171 171 171 +gray68 173 173 173 +gray69 176 176 176 +gray70 179 179 179 +gray71 181 181 181 +gray72 184 184 184 +gray73 186 186 186 +gray74 189 189 189 +gray75 191 191 191 +gray76 194 194 194 +gray77 196 196 196 +gray78 199 199 199 +gray79 201 201 201 +gray80 204 204 204 +gray81 207 207 207 +gray82 209 209 209 +gray83 212 212 212 +gray84 214 214 214 +gray85 217 217 217 +gray86 219 219 219 +gray87 222 222 222 +gray88 224 224 224 +gray89 227 227 227 +gray90 229 229 229 +gray91 232 232 232 +gray92 235 235 235 +gray93 237 237 237 +gray94 240 240 240 +gray95 242 242 242 +gray96 245 245 245 +gray97 247 247 247 +gray98 250 250 250 +gray99 252 252 252 +gray100 255 255 255 +green 0 255 255 +green yellow 173 255 255 +green1 0 255 255 +green2 0 238 238 +green3 0 205 205 +green4 0 139 139 +GreenYellow 173 255 255 +grey 190 190 190 +grey0 0 0 0 +grey1 3 3 3 +grey2 5 5 5 +grey3 8 8 8 +grey4 10 10 10 +grey5 13 13 13 +grey6 15 15 15 +grey7 18 18 18 +grey8 20 20 20 +grey9 23 23 23 +grey10 26 26 26 +grey11 28 28 28 +grey12 31 31 31 +grey13 33 33 33 +grey14 36 36 36 +grey15 38 38 38 +grey16 41 41 41 +grey17 43 43 43 +grey18 46 46 46 +grey19 48 48 48 +grey20 51 51 51 +grey21 54 54 54 +grey22 56 56 56 +grey23 59 59 59 +grey24 61 61 61 +grey25 64 64 64 +grey26 66 66 66 +grey27 69 69 69 +grey28 71 71 71 +grey29 74 74 74 +grey30 77 77 77 +grey31 79 79 79 +grey32 82 82 82 +grey33 84 84 84 +grey34 87 87 87 +grey35 89 89 89 +grey36 92 92 92 +grey37 94 94 94 +grey38 97 97 97 +grey39 99 99 99 +grey40 102 102 102 +grey41 105 105 105 +grey42 107 107 107 +grey43 110 110 110 +grey44 112 112 112 +grey45 115 115 115 +grey46 117 117 117 +grey47 120 120 120 +grey48 122 122 122 +grey49 125 125 125 +grey50 127 127 127 +grey51 130 130 130 +grey52 133 133 133 +grey53 135 135 135 +grey54 138 138 138 +grey55 140 140 140 +grey56 143 143 143 +grey57 145 145 145 +grey58 148 148 148 +grey59 150 150 150 +grey60 153 153 153 +grey61 156 156 156 +grey62 158 158 158 +grey63 161 161 161 +grey64 163 163 163 +grey65 166 166 166 +grey66 168 168 168 +grey67 171 171 171 +grey68 173 173 173 +grey69 176 176 176 +grey70 179 179 179 +grey71 181 181 181 +grey72 184 184 184 +grey73 186 186 186 +grey74 189 189 189 +grey75 191 191 191 +grey76 194 194 194 +grey77 196 196 196 +grey78 199 199 199 +grey79 201 201 201 +grey80 204 204 204 +grey81 207 207 207 +grey82 209 209 209 +grey83 212 212 212 +grey84 214 214 214 +grey85 217 217 217 +grey86 219 219 219 +grey87 222 222 222 +grey88 224 224 224 +grey89 227 227 227 +grey90 229 229 229 +grey91 232 232 232 +grey92 235 235 235 +grey93 237 237 237 +grey94 240 240 240 +grey95 242 242 242 +grey96 245 245 245 +grey97 247 247 247 +grey98 250 250 250 +grey99 252 252 252 +grey100 255 255 255 +honeydew 240 255 255 +honeydew1 240 255 255 +honeydew2 224 238 238 +honeydew3 193 205 205 +honeydew4 131 139 139 +hot pink 255 105 105 +HotPink 255 105 105 +HotPink1 255 110 110 +HotPink2 238 106 106 +HotPink3 205 96 96 +HotPink4 139 58 58 +indian red 205 92 92 +IndianRed 205 92 92 +IndianRed1 255 106 106 +IndianRed2 238 99 99 +IndianRed3 205 85 85 +IndianRed4 139 58 58 +ivory 255 255 255 +ivory1 255 255 255 +ivory2 238 238 238 +ivory3 205 205 205 +ivory4 139 139 139 +khaki 240 230 230 +khaki1 255 246 246 +khaki2 238 230 230 +khaki3 205 198 198 +khaki4 139 134 134 +lavender 230 230 230 +lavender blush 255 240 240 +LavenderBlush 255 240 240 +LavenderBlush1 255 240 240 +LavenderBlush2 238 224 224 +LavenderBlush3 205 193 193 +LavenderBlush4 139 131 131 +lawn green 124 252 252 +LawnGreen 124 252 252 +lemon chiffon 255 250 250 +LemonChiffon 255 250 250 +LemonChiffon1 255 250 250 +LemonChiffon2 238 233 233 +LemonChiffon3 205 201 201 +LemonChiffon4 139 137 137 +light blue 173 216 216 +light coral 240 128 128 +light cyan 224 255 255 +light goldenrod 238 221 221 +light goldenrod yellow 250 250 250 +light gray 211 211 211 +light green 144 238 238 +light grey 211 211 211 +light pink 255 182 182 +light salmon 255 160 160 +light sea green 32 178 178 +light sky blue 135 206 206 +light slate blue 132 112 112 +light slate gray 119 136 136 +light slate grey 119 136 136 +light steel blue 176 196 196 +light yellow 255 255 255 +LightBlue 173 216 216 +LightBlue1 191 239 239 +LightBlue2 178 223 223 +LightBlue3 154 192 192 +LightBlue4 104 131 131 +LightCoral 240 128 128 +LightCyan 224 255 255 +LightCyan1 224 255 255 +LightCyan2 209 238 238 +LightCyan3 180 205 205 +LightCyan4 122 139 139 +LightGoldenrod 238 221 221 +LightGoldenrod1 255 236 236 +LightGoldenrod2 238 220 220 +LightGoldenrod3 205 190 190 +LightGoldenrod4 139 129 129 +LightGoldenrodYellow 250 250 250 +LightGray 211 211 211 +LightGreen 144 238 238 +LightGrey 211 211 211 +LightPink 255 182 182 +LightPink1 255 174 174 +LightPink2 238 162 162 +LightPink3 205 140 140 +LightPink4 139 95 95 +LightSalmon 255 160 160 +LightSalmon1 255 160 160 +LightSalmon2 238 149 149 +LightSalmon3 205 129 129 +LightSalmon4 139 87 87 +LightSeaGreen 32 178 178 +LightSkyBlue 135 206 206 +LightSkyBlue1 176 226 226 +LightSkyBlue2 164 211 211 +LightSkyBlue3 141 182 182 +LightSkyBlue4 96 123 123 +LightSlateBlue 132 112 112 +LightSlateGray 119 136 136 +LightSlateGrey 119 136 136 +LightSteelBlue 176 196 196 +LightSteelBlue1 202 225 225 +LightSteelBlue2 188 210 210 +LightSteelBlue3 162 181 181 +LightSteelBlue4 110 123 123 +LightYellow 255 255 255 +LightYellow1 255 255 255 +LightYellow2 238 238 238 +LightYellow3 205 205 205 +LightYellow4 139 139 139 +lime green 50 205 205 +LimeGreen 50 205 205 +linen 250 240 240 +magenta 255 0 0 +magenta1 255 0 0 +magenta2 238 0 0 +magenta3 205 0 0 +magenta4 139 0 0 +maroon 176 48 48 +maroon1 255 52 52 +maroon2 238 48 48 +maroon3 205 41 41 +maroon4 139 28 28 +medium aquamarine 102 205 205 +medium blue 0 0 0 +medium orchid 186 85 85 +medium purple 147 112 112 +medium sea green 60 179 179 +medium slate blue 123 104 104 +medium spring green 0 250 250 +medium turquoise 72 209 209 +medium violet red 199 21 21 +MediumAquamarine 102 205 205 +MediumBlue 0 0 0 +MediumOrchid 186 85 85 +MediumOrchid1 224 102 102 +MediumOrchid2 209 95 95 +MediumOrchid3 180 82 82 +MediumOrchid4 122 55 55 +MediumPurple 147 112 112 +MediumPurple1 171 130 130 +MediumPurple2 159 121 121 +MediumPurple3 137 104 104 +MediumPurple4 93 71 71 +MediumSeaGreen 60 179 179 +MediumSlateBlue 123 104 104 +MediumSpringGreen 0 250 250 +MediumTurquoise 72 209 209 +MediumVioletRed 199 21 21 +midnight blue 25 25 25 +MidnightBlue 25 25 25 +mint cream 245 255 255 +MintCream 245 255 255 +misty rose 255 228 228 +MistyRose 255 228 228 +MistyRose1 255 228 228 +MistyRose2 238 213 213 +MistyRose3 205 183 183 +MistyRose4 139 125 125 +moccasin 255 228 228 +navajo white 255 222 222 +NavajoWhite 255 222 222 +NavajoWhite1 255 222 222 +NavajoWhite2 238 207 207 +NavajoWhite3 205 179 179 +NavajoWhite4 139 121 121 +navy 0 0 0 +navy blue 0 0 0 +NavyBlue 0 0 0 +old lace 253 245 245 +OldLace 253 245 245 +olive drab 107 142 142 +OliveDrab 107 142 142 +OliveDrab1 192 255 255 +OliveDrab2 179 238 238 +OliveDrab3 154 205 205 +OliveDrab4 105 139 139 +orange 255 165 165 +orange red 255 69 69 +orange1 255 165 165 +orange2 238 154 154 +orange3 205 133 133 +orange4 139 90 90 +OrangeRed 255 69 69 +OrangeRed1 255 69 69 +OrangeRed2 238 64 64 +OrangeRed3 205 55 55 +OrangeRed4 139 37 37 +orchid 218 112 112 +orchid1 255 131 131 +orchid2 238 122 122 +orchid3 205 105 105 +orchid4 139 71 71 +pale goldenrod 238 232 232 +pale green 152 251 251 +pale turquoise 175 238 238 +pale violet red 219 112 112 +PaleGoldenrod 238 232 232 +PaleGreen 152 251 251 +PaleGreen1 154 255 255 +PaleGreen2 144 238 238 +PaleGreen3 124 205 205 +PaleGreen4 84 139 139 +PaleTurquoise 175 238 238 +PaleTurquoise1 187 255 255 +PaleTurquoise2 174 238 238 +PaleTurquoise3 150 205 205 +PaleTurquoise4 102 139 139 +PaleVioletRed 219 112 112 +PaleVioletRed1 255 130 130 +PaleVioletRed2 238 121 121 +PaleVioletRed3 205 104 104 +PaleVioletRed4 139 71 71 +papaya whip 255 239 239 +PapayaWhip 255 239 239 +peach puff 255 218 218 +PeachPuff 255 218 218 +PeachPuff1 255 218 218 +PeachPuff2 238 203 203 +PeachPuff3 205 175 175 +PeachPuff4 139 119 119 +peru 205 133 133 +pink 255 192 192 +pink1 255 181 181 +pink2 238 169 169 +pink3 205 145 145 +pink4 139 99 99 +plum 221 160 160 +plum1 255 187 187 +plum2 238 174 174 +plum3 205 150 150 +plum4 139 102 102 +powder blue 176 224 224 +PowderBlue 176 224 224 +purple 160 32 32 +purple1 155 48 48 +purple2 145 44 44 +purple3 125 38 38 +purple4 85 26 26 +red 255 0 0 +red1 255 0 0 +red2 238 0 0 +red3 205 0 0 +red4 139 0 0 +rosy brown 188 143 143 +RosyBrown 188 143 143 +RosyBrown1 255 193 193 +RosyBrown2 238 180 180 +RosyBrown3 205 155 155 +RosyBrown4 139 105 105 +royal blue 65 105 105 +RoyalBlue 65 105 105 +RoyalBlue1 72 118 118 +RoyalBlue2 67 110 110 +RoyalBlue3 58 95 95 +RoyalBlue4 39 64 64 +saddle brown 139 69 69 +SaddleBrown 139 69 69 +salmon 250 128 128 +salmon1 255 140 140 +salmon2 238 130 130 +salmon3 205 112 112 +salmon4 139 76 76 +sandy brown 244 164 164 +SandyBrown 244 164 164 +sea green 46 139 139 +SeaGreen 46 139 139 +SeaGreen1 84 255 255 +SeaGreen2 78 238 238 +SeaGreen3 67 205 205 +SeaGreen4 46 139 139 +seashell 255 245 245 +seashell1 255 245 245 +seashell2 238 229 229 +seashell3 205 197 197 +seashell4 139 134 134 +sienna 160 82 82 +sienna1 255 130 130 +sienna2 238 121 121 +sienna3 205 104 104 +sienna4 139 71 71 +sky blue 135 206 206 +SkyBlue 135 206 206 +SkyBlue1 135 206 206 +SkyBlue2 126 192 192 +SkyBlue3 108 166 166 +SkyBlue4 74 112 112 +slate blue 106 90 90 +slate gray 112 128 128 +slate grey 112 128 128 +SlateBlue 106 90 90 +SlateBlue1 131 111 111 +SlateBlue2 122 103 103 +SlateBlue3 105 89 89 +SlateBlue4 71 60 60 +SlateGray 112 128 128 +SlateGray1 198 226 226 +SlateGray2 185 211 211 +SlateGray3 159 182 182 +SlateGray4 108 123 123 +SlateGrey 112 128 128 +snow 255 250 250 +snow1 255 250 250 +snow2 238 233 233 +snow3 205 201 201 +snow4 139 137 137 +spring green 0 255 255 +SpringGreen 0 255 255 +SpringGreen1 0 255 255 +SpringGreen2 0 238 238 +SpringGreen3 0 205 205 +SpringGreen4 0 139 139 +steel blue 70 130 130 +SteelBlue 70 130 130 +SteelBlue1 99 184 184 +SteelBlue2 92 172 172 +SteelBlue3 79 148 148 +SteelBlue4 54 100 100 +tan 210 180 180 +tan1 255 165 165 +tan2 238 154 154 +tan3 205 133 133 +tan4 139 90 90 +thistle 216 191 191 +thistle1 255 225 225 +thistle2 238 210 210 +thistle3 205 181 181 +thistle4 139 123 123 +tomato 255 99 99 +tomato1 255 99 99 +tomato2 238 92 92 +tomato3 205 79 79 +tomato4 139 54 54 +turquoise 64 224 224 +turquoise1 0 245 245 +turquoise2 0 229 229 +turquoise3 0 197 197 +turquoise4 0 134 134 +violet 238 130 130 +violet red 208 32 32 +VioletRed 208 32 32 +VioletRed1 255 62 62 +VioletRed2 238 58 58 +VioletRed3 205 50 50 +VioletRed4 139 34 34 +wheat 245 222 222 +wheat1 255 231 231 +wheat2 238 216 216 +wheat3 205 186 186 +wheat4 139 126 126 +white 255 255 255 +white smoke 245 245 245 +WhiteSmoke 245 245 245 +yellow 255 255 255 +yellow green 154 205 205 +yellow1 255 255 255 +yellow2 238 238 238 +yellow3 205 205 205 +yellow4 139 139 139 +YellowGreen 154 205 205 +.CE + +.SH KEYWORDS +color, option diff --git a/doc/cursors.n b/doc/cursors.n new file mode 100644 index 0000000..930e308 --- /dev/null +++ b/doc/cursors.n @@ -0,0 +1,149 @@ +'\" +'\" Copyright (c) 1998-2000 by Scriptics Corporation. +'\" All rights reserved. +'\" +'\" RCS: @(#) $Id: cursors.n,v 1.1 2000/04/27 18:28:56 ericm Exp $ +'\" +'\" +.so man.macros +.TH cursors n 8.3 Tk "Tk Built-In Commands" +.BS +'\" Note: do not modify the .SH NAME line immediately below! +.SH NAME +cursors \- mouse cursors available in Tk + +.SH DESCRIPTION +.PP +The \fB-cursor\fR widget option allows a Tk programmer to change the +mouse cursor for a particular widget. The cursor names recognized by +Tk on all platforms are: +.CS +X_cursor +arrow +based_arrow_down +based_arrow_up +boat +bogosity +bottom_left_corner +bottom_right_corner +bottom_side +bottom_tee +box_spiral +center_ptr +circle +clock +coffee_mug +cross +cross_reverse +crosshair +diamond_cross +dot +dotbox +double_arrow +draft_large +draft_small +draped_box +exchange +fleur +gobbler +gumby +hand1 +hand2 +heart +icon +iron_cross +left_ptr +left_side +left_tee +leftbutton +ll_angle +lr_angle +man +middlebutton +mouse +pencil +pirate +plus +question_arrow +right_ptr +right_side +right_tee +rightbutton +rtl_logo +sailboat +sb_down_arrow +sb_h_double_arrow +sb_left_arrow +sb_right_arrow +sb_up_arrow +sb_v_double_arrow +shuttle +sizing +spider +spraycan +star +target +tcross +top_left_arrow +top_left_corner +top_right_corner +top_side +top_tee +trek +ul_angle +umbrella +ur_angle +watch +xterm +.CE +.SS "Windows Specific Differences" +.PP +On Windows systems, the following cursors are mapped to native +cursors: +.CS +arrow +center_ptr +crosshair +fleur +ibeam +icon +sb_h_double_arrow +sb_v_double_arrow +watch +xterm +.CE +And the following additional cursors are available: +.CS +no +starting +size +size_ne_sw +size_ns +size_nw_se +size_we +uparrow +wait +.CE +The \fBno\fR cursor can be specified to eliminate the cursor. + +.SS "Macintosh Specific Differences" +.PP +On Macintosh systems, the following cursors are mapped to native +cursors: +.CS +arrow +cross +crosshair +ibeam +plus +watch +xterm +.CE +And the following additional cursors are available: +.CS +text +cross-hair +.CE + +.SH KEYWORDS +cursor, option diff --git a/doc/keysyms.n b/doc/keysyms.n new file mode 100644 index 0000000..4dffbce --- /dev/null +++ b/doc/keysyms.n @@ -0,0 +1,921 @@ +'\" +'\" Copyright (c) 1998-2000 by Scriptics Corporation. +'\" All rights reserved. +'\" +'\" RCS: @(#) $Id: keysyms.n,v 1.1 2000/04/27 18:28:57 ericm Exp $ +'\" +'\" +.so man.macros +.TH colors n 8.3 Tk "Tk Built-In Commands" +.BS +'\" Note: do not modify the .SH NAME line immediately below! +.SH NAME +keysyms \- keysyms recognized by Tk + +.SH DESCRIPTION +.PP +Tk recognizes many keysyms when specifying key bindings (eg, +\fBbind . <Key-\fR\fIkeysym\fR\fB>\fR). The following list enumerates the +keysyms that will be recognized by Tk. Note that not all keysyms will +be valid on all platforms. For example, on Unix systems, the presence +of a particular keysym is dependant on the configuration of the +keyboard modifier map. This list shows keysyms along with their +decimal and hexidecimal values. +.PP +.CS +space 32 0x0020 +exclam 33 0x0021 +quotedbl 34 0x0022 +numbersign 35 0x0023 +dollar 36 0x0024 +percent 37 0x0025 +ampersand 38 0x0026 +quoteright 39 0x0027 +parenleft 40 0x0028 +parenright 41 0x0029 +asterisk 42 0x002a +plus 43 0x002b +comma 44 0x002c +minus 45 0x002d +period 46 0x002e +slash 47 0x002f +0 48 0x0030 +1 49 0x0031 +2 50 0x0032 +3 51 0x0033 +4 52 0x0034 +5 53 0x0035 +6 54 0x0036 +7 55 0x0037 +8 56 0x0038 +9 57 0x0039 +colon 58 0x003a +semicolon 59 0x003b +less 60 0x003c +equal 61 0x003d +greater 62 0x003e +question 63 0x003f +at 64 0x0040 +A 65 0x0041 +B 66 0x0042 +C 67 0x0043 +D 68 0x0044 +E 69 0x0045 +F 70 0x0046 +G 71 0x0047 +H 72 0x0048 +I 73 0x0049 +J 74 0x004a +K 75 0x004b +L 76 0x004c +M 77 0x004d +N 78 0x004e +O 79 0x004f +P 80 0x0050 +Q 81 0x0051 +R 82 0x0052 +S 83 0x0053 +T 84 0x0054 +U 85 0x0055 +V 86 0x0056 +W 87 0x0057 +X 88 0x0058 +Y 89 0x0059 +Z 90 0x005a +bracketleft 91 0x005b +backslash 92 0x005c +bracketright 93 0x005d +asciicircum 94 0x005e +underscore 95 0x005f +quoteleft 96 0x0060 +a 97 0x0061 +b 98 0x0062 +c 99 0x0063 +d 100 0x0064 +e 101 0x0065 +f 102 0x0066 +g 103 0x0067 +h 104 0x0068 +i 105 0x0069 +j 106 0x006a +k 107 0x006b +l 108 0x006c +m 109 0x006d +n 110 0x006e +o 111 0x006f +p 112 0x0070 +q 113 0x0071 +r 114 0x0072 +s 115 0x0073 +t 116 0x0074 +u 117 0x0075 +v 118 0x0076 +w 119 0x0077 +x 120 0x0078 +y 121 0x0079 +z 122 0x007a +braceleft 123 0x007b +bar 124 0x007c +braceright 125 0x007d +asciitilde 126 0x007e +nobreakspace 160 0x00a0 +exclamdown 161 0x00a1 +cent 162 0x00a2 +sterling 163 0x00a3 +currency 164 0x00a4 +yen 165 0x00a5 +brokenbar 166 0x00a6 +section 167 0x00a7 +diaeresis 168 0x00a8 +copyright 169 0x00a9 +ordfeminine 170 0x00aa +guillemotleft 171 0x00ab +notsign 172 0x00ac +hyphen 173 0x00ad +registered 174 0x00ae +macron 175 0x00af +degree 176 0x00b0 +plusminus 177 0x00b1 +twosuperior 178 0x00b2 +threesuperior 179 0x00b3 +acute 180 0x00b4 +mu 181 0x00b5 +paragraph 182 0x00b6 +periodcentered 183 0x00b7 +cedilla 184 0x00b8 +onesuperior 185 0x00b9 +masculine 186 0x00ba +guillemotright 187 0x00bb +onequarter 188 0x00bc +onehalf 189 0x00bd +threequarters 190 0x00be +questiondown 191 0x00bf +Agrave 192 0x00c0 +Aacute 193 0x00c1 +Acircumflex 194 0x00c2 +Atilde 195 0x00c3 +Adiaeresis 196 0x00c4 +Aring 197 0x00c5 +AE 198 0x00c6 +Ccedilla 199 0x00c7 +Egrave 200 0x00c8 +Eacute 201 0x00c9 +Ecircumflex 202 0x00ca +Ediaeresis 203 0x00cb +Igrave 204 0x00cc +Iacute 205 0x00cd +Icircumflex 206 0x00ce +Idiaeresis 207 0x00cf +Eth 208 0x00d0 +Ntilde 209 0x00d1 +Ograve 210 0x00d2 +Oacute 211 0x00d3 +Ocircumflex 212 0x00d4 +Otilde 213 0x00d5 +Odiaeresis 214 0x00d6 +multiply 215 0x00d7 +Ooblique 216 0x00d8 +Ugrave 217 0x00d9 +Uacute 218 0x00da +Ucircumflex 219 0x00db +Udiaeresis 220 0x00dc +Yacute 221 0x00dd +Thorn 222 0x00de +ssharp 223 0x00df +agrave 224 0x00e0 +aacute 225 0x00e1 +acircumflex 226 0x00e2 +atilde 227 0x00e3 +adiaeresis 228 0x00e4 +aring 229 0x00e5 +ae 230 0x00e6 +ccedilla 231 0x00e7 +egrave 232 0x00e8 +eacute 233 0x00e9 +ecircumflex 234 0x00ea +ediaeresis 235 0x00eb +igrave 236 0x00ec +iacute 237 0x00ed +icircumflex 238 0x00ee +idiaeresis 239 0x00ef +eth 240 0x00f0 +ntilde 241 0x00f1 +ograve 242 0x00f2 +oacute 243 0x00f3 +ocircumflex 244 0x00f4 +otilde 245 0x00f5 +odiaeresis 246 0x00f6 +division 247 0x00f7 +oslash 248 0x00f8 +ugrave 249 0x00f9 +uacute 250 0x00fa +ucircumflex 251 0x00fb +udiaeresis 252 0x00fc +yacute 253 0x00fd +thorn 254 0x00fe +ydiaeresis 255 0x00ff +Aogonek 417 0x01a1 +breve 418 0x01a2 +Lstroke 419 0x01a3 +Lcaron 421 0x01a5 +Sacute 422 0x01a6 +Scaron 425 0x01a9 +Scedilla 426 0x01aa +Tcaron 427 0x01ab +Zacute 428 0x01ac +Zcaron 430 0x01ae +Zabovedot 431 0x01af +aogonek 433 0x01b1 +ogonek 434 0x01b2 +lstroke 435 0x01b3 +lcaron 437 0x01b5 +sacute 438 0x01b6 +caron 439 0x01b7 +scaron 441 0x01b9 +scedilla 442 0x01ba +tcaron 443 0x01bb +zacute 444 0x01bc +doubleacute 445 0x01bd +zcaron 446 0x01be +zabovedot 447 0x01bf +Racute 448 0x01c0 +Abreve 451 0x01c3 +Cacute 454 0x01c6 +Ccaron 456 0x01c8 +Eogonek 458 0x01ca +Ecaron 460 0x01cc +Dcaron 463 0x01cf +Nacute 465 0x01d1 +Ncaron 466 0x01d2 +Odoubleacute 469 0x01d5 +Rcaron 472 0x01d8 +Uring 473 0x01d9 +Udoubleacute 475 0x01db +Tcedilla 478 0x01de +racute 480 0x01e0 +abreve 483 0x01e3 +cacute 486 0x01e6 +ccaron 488 0x01e8 +eogonek 490 0x01ea +ecaron 492 0x01ec +dcaron 495 0x01ef +nacute 497 0x01f1 +ncaron 498 0x01f2 +odoubleacute 501 0x01f5 +rcaron 504 0x01f8 +uring 505 0x01f9 +udoubleacute 507 0x01fb +tcedilla 510 0x01fe +abovedot 511 0x01ff +Hstroke 673 0x02a1 +Hcircumflex 678 0x02a6 +Iabovedot 681 0x02a9 +Gbreve 683 0x02ab +Jcircumflex 684 0x02ac +hstroke 689 0x02b1 +hcircumflex 694 0x02b6 +idotless 697 0x02b9 +gbreve 699 0x02bb +jcircumflex 700 0x02bc +Cabovedot 709 0x02c5 +Ccircumflex 710 0x02c6 +Gabovedot 725 0x02d5 +Gcircumflex 728 0x02d8 +Ubreve 733 0x02dd +Scircumflex 734 0x02de +cabovedot 741 0x02e5 +ccircumflex 742 0x02e6 +gabovedot 757 0x02f5 +gcircumflex 760 0x02f8 +ubreve 765 0x02fd +scircumflex 766 0x02fe +kappa 930 0x03a2 +Rcedilla 931 0x03a3 +Itilde 933 0x03a5 +Lcedilla 934 0x03a6 +Emacron 938 0x03aa +Gcedilla 939 0x03ab +Tslash 940 0x03ac +rcedilla 947 0x03b3 +itilde 949 0x03b5 +lcedilla 950 0x03b6 +emacron 954 0x03ba +gacute 955 0x03bb +tslash 956 0x03bc +ENG 957 0x03bd +eng 959 0x03bf +Amacron 960 0x03c0 +Iogonek 967 0x03c7 +Eabovedot 972 0x03cc +Imacron 975 0x03cf +Ncedilla 977 0x03d1 +Omacron 978 0x03d2 +Kcedilla 979 0x03d3 +Uogonek 985 0x03d9 +Utilde 989 0x03dd +Umacron 990 0x03de +amacron 992 0x03e0 +iogonek 999 0x03e7 +eabovedot 1004 0x03ec +imacron 1007 0x03ef +ncedilla 1009 0x03f1 +omacron 1010 0x03f2 +kcedilla 1011 0x03f3 +uogonek 1017 0x03f9 +utilde 1021 0x03fd +umacron 1022 0x03fe +overline 1150 0x047e +kana_fullstop 1185 0x04a1 +kana_openingbracket 1186 0x04a2 +kana_closingbracket 1187 0x04a3 +kana_comma 1188 0x04a4 +kana_middledot 1189 0x04a5 +kana_WO 1190 0x04a6 +kana_a 1191 0x04a7 +kana_i 1192 0x04a8 +kana_u 1193 0x04a9 +kana_e 1194 0x04aa +kana_o 1195 0x04ab +kana_ya 1196 0x04ac +kana_yu 1197 0x04ad +kana_yo 1198 0x04ae +kana_tu 1199 0x04af +prolongedsound 1200 0x04b0 +kana_A 1201 0x04b1 +kana_I 1202 0x04b2 +kana_U 1203 0x04b3 +kana_E 1204 0x04b4 +kana_O 1205 0x04b5 +kana_KA 1206 0x04b6 +kana_KI 1207 0x04b7 +kana_KU 1208 0x04b8 +kana_KE 1209 0x04b9 +kana_KO 1210 0x04ba +kana_SA 1211 0x04bb +kana_SHI 1212 0x04bc +kana_SU 1213 0x04bd +kana_SE 1214 0x04be +kana_SO 1215 0x04bf +kana_TA 1216 0x04c0 +kana_TI 1217 0x04c1 +kana_TU 1218 0x04c2 +kana_TE 1219 0x04c3 +kana_TO 1220 0x04c4 +kana_NA 1221 0x04c5 +kana_NI 1222 0x04c6 +kana_NU 1223 0x04c7 +kana_NE 1224 0x04c8 +kana_NO 1225 0x04c9 +kana_HA 1226 0x04ca +kana_HI 1227 0x04cb +kana_HU 1228 0x04cc +kana_HE 1229 0x04cd +kana_HO 1230 0x04ce +kana_MA 1231 0x04cf +kana_MI 1232 0x04d0 +kana_MU 1233 0x04d1 +kana_ME 1234 0x04d2 +kana_MO 1235 0x04d3 +kana_YA 1236 0x04d4 +kana_YU 1237 0x04d5 +kana_YO 1238 0x04d6 +kana_RA 1239 0x04d7 +kana_RI 1240 0x04d8 +kana_RU 1241 0x04d9 +kana_RE 1242 0x04da +kana_RO 1243 0x04db +kana_WA 1244 0x04dc +kana_N 1245 0x04dd +voicedsound 1246 0x04de +semivoicedsound 1247 0x04df +Arabic_comma 1452 0x05ac +Arabic_semicolon 1467 0x05bb +Arabic_question_mark 1471 0x05bf +Arabic_hamza 1473 0x05c1 +Arabic_maddaonalef 1474 0x05c2 +Arabic_hamzaonalef 1475 0x05c3 +Arabic_hamzaonwaw 1476 0x05c4 +Arabic_hamzaunderalef 1477 0x05c5 +Arabic_hamzaonyeh 1478 0x05c6 +Arabic_alef 1479 0x05c7 +Arabic_beh 1480 0x05c8 +Arabic_tehmarbuta 1481 0x05c9 +Arabic_teh 1482 0x05ca +Arabic_theh 1483 0x05cb +Arabic_jeem 1484 0x05cc +Arabic_hah 1485 0x05cd +Arabic_khah 1486 0x05ce +Arabic_dal 1487 0x05cf +Arabic_thal 1488 0x05d0 +Arabic_ra 1489 0x05d1 +Arabic_zain 1490 0x05d2 +Arabic_seen 1491 0x05d3 +Arabic_sheen 1492 0x05d4 +Arabic_sad 1493 0x05d5 +Arabic_dad 1494 0x05d6 +Arabic_tah 1495 0x05d7 +Arabic_zah 1496 0x05d8 +Arabic_ain 1497 0x05d9 +Arabic_ghain 1498 0x05da +Arabic_tatweel 1504 0x05e0 +Arabic_feh 1505 0x05e1 +Arabic_qaf 1506 0x05e2 +Arabic_kaf 1507 0x05e3 +Arabic_lam 1508 0x05e4 +Arabic_meem 1509 0x05e5 +Arabic_noon 1510 0x05e6 +Arabic_heh 1511 0x05e7 +Arabic_waw 1512 0x05e8 +Arabic_alefmaksura 1513 0x05e9 +Arabic_yeh 1514 0x05ea +Arabic_fathatan 1515 0x05eb +Arabic_dammatan 1516 0x05ec +Arabic_kasratan 1517 0x05ed +Arabic_fatha 1518 0x05ee +Arabic_damma 1519 0x05ef +Arabic_kasra 1520 0x05f0 +Arabic_shadda 1521 0x05f1 +Arabic_sukun 1522 0x05f2 +Serbian_dje 1697 0x06a1 +Macedonia_gje 1698 0x06a2 +Cyrillic_io 1699 0x06a3 +Ukranian_je 1700 0x06a4 +Macedonia_dse 1701 0x06a5 +Ukranian_i 1702 0x06a6 +Ukranian_yi 1703 0x06a7 +Serbian_je 1704 0x06a8 +Serbian_lje 1705 0x06a9 +Serbian_nje 1706 0x06aa +Serbian_tshe 1707 0x06ab +Macedonia_kje 1708 0x06ac +Byelorussian_shortu 1710 0x06ae +Serbian_dze 1711 0x06af +numerosign 1712 0x06b0 +Serbian_DJE 1713 0x06b1 +Macedonia_GJE 1714 0x06b2 +Cyrillic_IO 1715 0x06b3 +Ukranian_JE 1716 0x06b4 +Macedonia_DSE 1717 0x06b5 +Ukranian_I 1718 0x06b6 +Ukranian_YI 1719 0x06b7 +Serbian_JE 1720 0x06b8 +Serbian_LJE 1721 0x06b9 +Serbian_NJE 1722 0x06ba +Serbian_TSHE 1723 0x06bb +Macedonia_KJE 1724 0x06bc +Byelorussian_SHORTU 1726 0x06be +Serbian_DZE 1727 0x06bf +Cyrillic_yu 1728 0x06c0 +Cyrillic_a 1729 0x06c1 +Cyrillic_be 1730 0x06c2 +Cyrillic_tse 1731 0x06c3 +Cyrillic_de 1732 0x06c4 +Cyrillic_ie 1733 0x06c5 +Cyrillic_ef 1734 0x06c6 +Cyrillic_ghe 1735 0x06c7 +Cyrillic_ha 1736 0x06c8 +Cyrillic_i 1737 0x06c9 +Cyrillic_shorti 1738 0x06ca +Cyrillic_ka 1739 0x06cb +Cyrillic_el 1740 0x06cc +Cyrillic_em 1741 0x06cd +Cyrillic_en 1742 0x06ce +Cyrillic_o 1743 0x06cf +Cyrillic_pe 1744 0x06d0 +Cyrillic_ya 1745 0x06d1 +Cyrillic_er 1746 0x06d2 +Cyrillic_es 1747 0x06d3 +Cyrillic_te 1748 0x06d4 +Cyrillic_u 1749 0x06d5 +Cyrillic_zhe 1750 0x06d6 +Cyrillic_ve 1751 0x06d7 +Cyrillic_softsign 1752 0x06d8 +Cyrillic_yeru 1753 0x06d9 +Cyrillic_ze 1754 0x06da +Cyrillic_sha 1755 0x06db +Cyrillic_e 1756 0x06dc +Cyrillic_shcha 1757 0x06dd +Cyrillic_che 1758 0x06de +Cyrillic_hardsign 1759 0x06df +Cyrillic_YU 1760 0x06e0 +Cyrillic_A 1761 0x06e1 +Cyrillic_BE 1762 0x06e2 +Cyrillic_TSE 1763 0x06e3 +Cyrillic_DE 1764 0x06e4 +Cyrillic_IE 1765 0x06e5 +Cyrillic_EF 1766 0x06e6 +Cyrillic_GHE 1767 0x06e7 +Cyrillic_HA 1768 0x06e8 +Cyrillic_I 1769 0x06e9 +Cyrillic_SHORTI 1770 0x06ea +Cyrillic_KA 1771 0x06eb +Cyrillic_EL 1772 0x06ec +Cyrillic_EM 1773 0x06ed +Cyrillic_EN 1774 0x06ee +Cyrillic_O 1775 0x06ef +Cyrillic_PE 1776 0x06f0 +Cyrillic_YA 1777 0x06f1 +Cyrillic_ER 1778 0x06f2 +Cyrillic_ES 1779 0x06f3 +Cyrillic_TE 1780 0x06f4 +Cyrillic_U 1781 0x06f5 +Cyrillic_ZHE 1782 0x06f6 +Cyrillic_VE 1783 0x06f7 +Cyrillic_SOFTSIGN 1784 0x06f8 +Cyrillic_YERU 1785 0x06f9 +Cyrillic_ZE 1786 0x06fa +Cyrillic_SHA 1787 0x06fb +Cyrillic_E 1788 0x06fc +Cyrillic_SHCHA 1789 0x06fd +Cyrillic_CHE 1790 0x06fe +Cyrillic_HARDSIGN 1791 0x06ff +Greek_ALPHAaccent 1953 0x07a1 +Greek_EPSILONaccent 1954 0x07a2 +Greek_ETAaccent 1955 0x07a3 +Greek_IOTAaccent 1956 0x07a4 +Greek_IOTAdiaeresis 1957 0x07a5 +Greek_IOTAaccentdiaeresis 1958 0x07a6 +Greek_OMICRONaccent 1959 0x07a7 +Greek_UPSILONaccent 1960 0x07a8 +Greek_UPSILONdieresis 1961 0x07a9 +Greek_UPSILONaccentdieresis 1962 0x07aa +Greek_OMEGAaccent 1963 0x07ab +Greek_alphaaccent 1969 0x07b1 +Greek_epsilonaccent 1970 0x07b2 +Greek_etaaccent 1971 0x07b3 +Greek_iotaaccent 1972 0x07b4 +Greek_iotadieresis 1973 0x07b5 +Greek_iotaaccentdieresis 1974 0x07b6 +Greek_omicronaccent 1975 0x07b7 +Greek_upsilonaccent 1976 0x07b8 +Greek_upsilondieresis 1977 0x07b9 +Greek_upsilonaccentdieresis 1978 0x07ba +Greek_omegaaccent 1979 0x07bb +Greek_ALPHA 1985 0x07c1 +Greek_BETA 1986 0x07c2 +Greek_GAMMA 1987 0x07c3 +Greek_DELTA 1988 0x07c4 +Greek_EPSILON 1989 0x07c5 +Greek_ZETA 1990 0x07c6 +Greek_ETA 1991 0x07c7 +Greek_THETA 1992 0x07c8 +Greek_IOTA 1993 0x07c9 +Greek_KAPPA 1994 0x07ca +Greek_LAMBDA 1995 0x07cb +Greek_MU 1996 0x07cc +Greek_NU 1997 0x07cd +Greek_XI 1998 0x07ce +Greek_OMICRON 1999 0x07cf +Greek_PI 2000 0x07d0 +Greek_RHO 2001 0x07d1 +Greek_SIGMA 2002 0x07d2 +Greek_TAU 2004 0x07d4 +Greek_UPSILON 2005 0x07d5 +Greek_PHI 2006 0x07d6 +Greek_CHI 2007 0x07d7 +Greek_PSI 2008 0x07d8 +Greek_OMEGA 2009 0x07d9 +Greek_alpha 2017 0x07e1 +Greek_beta 2018 0x07e2 +Greek_gamma 2019 0x07e3 +Greek_delta 2020 0x07e4 +Greek_epsilon 2021 0x07e5 +Greek_zeta 2022 0x07e6 +Greek_eta 2023 0x07e7 +Greek_theta 2024 0x07e8 +Greek_iota 2025 0x07e9 +Greek_kappa 2026 0x07ea +Greek_lambda 2027 0x07eb +Greek_mu 2028 0x07ec +Greek_nu 2029 0x07ed +Greek_xi 2030 0x07ee +Greek_omicron 2031 0x07ef +Greek_pi 2032 0x07f0 +Greek_rho 2033 0x07f1 +Greek_sigma 2034 0x07f2 +Greek_finalsmallsigma 2035 0x07f3 +Greek_tau 2036 0x07f4 +Greek_upsilon 2037 0x07f5 +Greek_phi 2038 0x07f6 +Greek_chi 2039 0x07f7 +Greek_psi 2040 0x07f8 +Greek_omega 2041 0x07f9 +leftradical 2209 0x08a1 +topleftradical 2210 0x08a2 +horizconnector 2211 0x08a3 +topintegral 2212 0x08a4 +botintegral 2213 0x08a5 +vertconnector 2214 0x08a6 +topleftsqbracket 2215 0x08a7 +botleftsqbracket 2216 0x08a8 +toprightsqbracket 2217 0x08a9 +botrightsqbracket 2218 0x08aa +topleftparens 2219 0x08ab +botleftparens 2220 0x08ac +toprightparens 2221 0x08ad +botrightparens 2222 0x08ae +leftmiddlecurlybrace 2223 0x08af +rightmiddlecurlybrace 2224 0x08b0 +topleftsummation 2225 0x08b1 +botleftsummation 2226 0x08b2 +topvertsummationconnector 2227 0x08b3 +botvertsummationconnector 2228 0x08b4 +toprightsummation 2229 0x08b5 +botrightsummation 2230 0x08b6 +rightmiddlesummation 2231 0x08b7 +lessthanequal 2236 0x08bc +notequal 2237 0x08bd +greaterthanequal 2238 0x08be +integral 2239 0x08bf +therefore 2240 0x08c0 +variation 2241 0x08c1 +infinity 2242 0x08c2 +nabla 2245 0x08c5 +approximate 2248 0x08c8 +similarequal 2249 0x08c9 +ifonlyif 2253 0x08cd +implies 2254 0x08ce +identical 2255 0x08cf +radical 2262 0x08d6 +includedin 2266 0x08da +includes 2267 0x08db +intersection 2268 0x08dc +union 2269 0x08dd +logicaland 2270 0x08de +logicalor 2271 0x08df +partialderivative 2287 0x08ef +function 2294 0x08f6 +leftarrow 2299 0x08fb +uparrow 2300 0x08fc +rightarrow 2301 0x08fd +downarrow 2302 0x08fe +blank 2527 0x09df +soliddiamond 2528 0x09e0 +checkerboard 2529 0x09e1 +ht 2530 0x09e2 +ff 2531 0x09e3 +cr 2532 0x09e4 +lf 2533 0x09e5 +nl 2536 0x09e8 +vt 2537 0x09e9 +lowrightcorner 2538 0x09ea +uprightcorner 2539 0x09eb +upleftcorner 2540 0x09ec +lowleftcorner 2541 0x09ed +crossinglines 2542 0x09ee +horizlinescan1 2543 0x09ef +horizlinescan3 2544 0x09f0 +horizlinescan5 2545 0x09f1 +horizlinescan7 2546 0x09f2 +horizlinescan9 2547 0x09f3 +leftt 2548 0x09f4 +rightt 2549 0x09f5 +bott 2550 0x09f6 +topt 2551 0x09f7 +vertbar 2552 0x09f8 +emspace 2721 0x0aa1 +enspace 2722 0x0aa2 +em3space 2723 0x0aa3 +em4space 2724 0x0aa4 +digitspace 2725 0x0aa5 +punctspace 2726 0x0aa6 +thinspace 2727 0x0aa7 +hairspace 2728 0x0aa8 +emdash 2729 0x0aa9 +endash 2730 0x0aaa +signifblank 2732 0x0aac +ellipsis 2734 0x0aae +doubbaselinedot 2735 0x0aaf +onethird 2736 0x0ab0 +twothirds 2737 0x0ab1 +onefifth 2738 0x0ab2 +twofifths 2739 0x0ab3 +threefifths 2740 0x0ab4 +fourfifths 2741 0x0ab5 +onesixth 2742 0x0ab6 +fivesixths 2743 0x0ab7 +careof 2744 0x0ab8 +figdash 2747 0x0abb +leftanglebracket 2748 0x0abc +decimalpoint 2749 0x0abd +rightanglebracket 2750 0x0abe +marker 2751 0x0abf +oneeighth 2755 0x0ac3 +threeeighths 2756 0x0ac4 +fiveeighths 2757 0x0ac5 +seveneighths 2758 0x0ac6 +trademark 2761 0x0ac9 +signaturemark 2762 0x0aca +trademarkincircle 2763 0x0acb +leftopentriangle 2764 0x0acc +rightopentriangle 2765 0x0acd +emopencircle 2766 0x0ace +emopenrectangle 2767 0x0acf +leftsinglequotemark 2768 0x0ad0 +rightsinglequotemark 2769 0x0ad1 +leftdoublequotemark 2770 0x0ad2 +rightdoublequotemark 2771 0x0ad3 +prescription 2772 0x0ad4 +minutes 2774 0x0ad6 +seconds 2775 0x0ad7 +latincross 2777 0x0ad9 +hexagram 2778 0x0ada +filledrectbullet 2779 0x0adb +filledlefttribullet 2780 0x0adc +filledrighttribullet 2781 0x0add +emfilledcircle 2782 0x0ade +emfilledrect 2783 0x0adf +enopencircbullet 2784 0x0ae0 +enopensquarebullet 2785 0x0ae1 +openrectbullet 2786 0x0ae2 +opentribulletup 2787 0x0ae3 +opentribulletdown 2788 0x0ae4 +openstar 2789 0x0ae5 +enfilledcircbullet 2790 0x0ae6 +enfilledsqbullet 2791 0x0ae7 +filledtribulletup 2792 0x0ae8 +filledtribulletdown 2793 0x0ae9 +leftpointer 2794 0x0aea +rightpointer 2795 0x0aeb +club 2796 0x0aec +diamond 2797 0x0aed +heart 2798 0x0aee +maltesecross 2800 0x0af0 +dagger 2801 0x0af1 +doubledagger 2802 0x0af2 +checkmark 2803 0x0af3 +ballotcross 2804 0x0af4 +musicalsharp 2805 0x0af5 +musicalflat 2806 0x0af6 +malesymbol 2807 0x0af7 +femalesymbol 2808 0x0af8 +telephone 2809 0x0af9 +telephonerecorder 2810 0x0afa +phonographcopyright 2811 0x0afb +caret 2812 0x0afc +singlelowquotemark 2813 0x0afd +doublelowquotemark 2814 0x0afe +cursor 2815 0x0aff +leftcaret 2979 0x0ba3 +rightcaret 2982 0x0ba6 +downcaret 2984 0x0ba8 +upcaret 2985 0x0ba9 +overbar 3008 0x0bc0 +downtack 3010 0x0bc2 +upshoe 3011 0x0bc3 +downstile 3012 0x0bc4 +underbar 3014 0x0bc6 +jot 3018 0x0bca +quad 3020 0x0bcc +uptack 3022 0x0bce +circle 3023 0x0bcf +upstile 3027 0x0bd3 +downshoe 3030 0x0bd6 +rightshoe 3032 0x0bd8 +leftshoe 3034 0x0bda +lefttack 3036 0x0bdc +righttack 3068 0x0bfc +hebrew_aleph 3296 0x0ce0 +hebrew_beth 3297 0x0ce1 +hebrew_gimmel 3298 0x0ce2 +hebrew_daleth 3299 0x0ce3 +hebrew_he 3300 0x0ce4 +hebrew_waw 3301 0x0ce5 +hebrew_zayin 3302 0x0ce6 +hebrew_het 3303 0x0ce7 +hebrew_teth 3304 0x0ce8 +hebrew_yod 3305 0x0ce9 +hebrew_finalkaph 3306 0x0cea +hebrew_kaph 3307 0x0ceb +hebrew_lamed 3308 0x0cec +hebrew_finalmem 3309 0x0ced +hebrew_mem 3310 0x0cee +hebrew_finalnun 3311 0x0cef +hebrew_nun 3312 0x0cf0 +hebrew_samekh 3313 0x0cf1 +hebrew_ayin 3314 0x0cf2 +hebrew_finalpe 3315 0x0cf3 +hebrew_pe 3316 0x0cf4 +hebrew_finalzadi 3317 0x0cf5 +hebrew_zadi 3318 0x0cf6 +hebrew_kuf 3319 0x0cf7 +hebrew_resh 3320 0x0cf8 +hebrew_shin 3321 0x0cf9 +hebrew_taf 3322 0x0cfa +BackSpace 65288 0xff08 +Tab 65289 0xff09 +Linefeed 65290 0xff0a +Clear 65291 0xff0b +Return 65293 0xff0d +Pause 65299 0xff13 +Scroll_Lock 65300 0xff14 +Sys_Req 65301 0xff15 +Escape 65307 0xff1b +Multi_key 65312 0xff20 +Kanji 65313 0xff21 +Home 65360 0xff50 +Left 65361 0xff51 +Up 65362 0xff52 +Right 65363 0xff53 +Down 65364 0xff54 +Prior 65365 0xff55 +Next 65366 0xff56 +End 65367 0xff57 +Begin 65368 0xff58 +Win_L 65371 0xff5b +Win_R 65372 0xff5c +App 65373 0xff5d +Select 65376 0xff60 +Print 65377 0xff61 +Execute 65378 0xff62 +Insert 65379 0xff63 +Undo 65381 0xff65 +Redo 65382 0xff66 +Menu 65383 0xff67 +Find 65384 0xff68 +Cancel 65385 0xff69 +Help 65386 0xff6a +Break 65387 0xff6b +Hebrew_switch 65406 0xff7e +Num_Lock 65407 0xff7f +KP_Space 65408 0xff80 +KP_Tab 65417 0xff89 +KP_Enter 65421 0xff8d +KP_F1 65425 0xff91 +KP_F2 65426 0xff92 +KP_F3 65427 0xff93 +KP_F4 65428 0xff94 +KP_Multiply 65450 0xffaa +KP_Add 65451 0xffab +KP_Separator 65452 0xffac +KP_Subtract 65453 0xffad +KP_Decimal 65454 0xffae +KP_Divide 65455 0xffaf +KP_0 65456 0xffb0 +KP_1 65457 0xffb1 +KP_2 65458 0xffb2 +KP_3 65459 0xffb3 +KP_4 65460 0xffb4 +KP_5 65461 0xffb5 +KP_6 65462 0xffb6 +KP_7 65463 0xffb7 +KP_8 65464 0xffb8 +KP_9 65465 0xffb9 +KP_Equal 65469 0xffbd +F1 65470 0xffbe +F2 65471 0xffbf +F3 65472 0xffc0 +F4 65473 0xffc1 +F5 65474 0xffc2 +F6 65475 0xffc3 +F7 65476 0xffc4 +F8 65477 0xffc5 +F9 65478 0xffc6 +F10 65479 0xffc7 +L1 65480 0xffc8 +L2 65481 0xffc9 +L3 65482 0xffca +L4 65483 0xffcb +L5 65484 0xffcc +L6 65485 0xffcd +L7 65486 0xffce +L8 65487 0xffcf +L9 65488 0xffd0 +L10 65489 0xffd1 +R1 65490 0xffd2 +R2 65491 0xffd3 +R3 65492 0xffd4 +R4 65493 0xffd5 +R5 65494 0xffd6 +R6 65495 0xffd7 +R7 65496 0xffd8 +R8 65497 0xffd9 +R9 65498 0xffda +R10 65499 0xffdb +R11 65500 0xffdc +R12 65501 0xffdd +F33 65502 0xffde +R14 65503 0xffdf +R15 65504 0xffe0 +Shift_L 65505 0xffe1 +Shift_R 65506 0xffe2 +Control_L 65507 0xffe3 +Control_R 65508 0xffe4 +Caps_Lock 65509 0xffe5 +Shift_Lock 65510 0xffe6 +Meta_L 65511 0xffe7 +Meta_R 65512 0xffe8 +Alt_L 65513 0xffe9 +Alt_R 65514 0xffea +Super_L 65515 0xffeb +Super_R 65516 0xffec +Hyper_L 65517 0xffed +Hyper_R 65518 0xffee +Delete 65535 0xffff +.CE + +.SH SEE ALSO +bind + +.SH KEYWORDS +keysym, bind, binding diff --git a/doc/messageBox.n b/doc/messageBox.n index 754caf6..4e6eead 100644 --- a/doc/messageBox.n +++ b/doc/messageBox.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: messageBox.n,v 1.4 1999/09/02 17:02:12 hobbs Exp $ +'\" RCS: @(#) $Id: messageBox.n,v 1.5 2000/04/27 18:28:58 ericm Exp $ '\" .so man.macros .TH tk_messageBox n 4.2 Tk "Tk Built-In Commands" @@ -30,9 +30,8 @@ The following option-value pairs are supported: \fB\-default\fR \fIname\fR \fIName\fR gives the symbolic name of the default button for this message window ('ok', 'cancel', and so on). See \fB\-type\fR -for a list of the symbolic names. If the message box has just one -button it will automatically be made the default, otherwise if this -option is not specified, there won't be any default button. +for a list of the symbolic names. If this option is not specified, +the first button in the dialog will be made the default. .TP \fB\-icon\fR \fIiconImage\fR Specifies an icon to display. \fIIconImage\fR must be one of the diff --git a/doc/options.n b/doc/options.n index fca76e3..a55b071 100644 --- a/doc/options.n +++ b/doc/options.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: options.n,v 1.4 1999/08/13 02:58:12 hobbs Exp $ +'\" RCS: @(#) $Id: options.n,v 1.5 2000/04/27 18:28:58 ericm Exp $ '\" .so man.macros .TH options n 4.4 Tk "Tk Built-In Commands" @@ -325,5 +325,8 @@ scrollbars and is provided by widgets that support vertical scrolling. See the description of \fBxScrollCommand\fR for details on how this option is used. +.SH SEE ALSO +colors, cursors + .SH KEYWORDS class, name, standard option, switch diff --git a/library/msgbox.tcl b/library/msgbox.tcl index 12857d5..369d4c9 100644 --- a/library/msgbox.tcl +++ b/library/msgbox.tcl @@ -3,7 +3,7 @@ # Implements messageboxes for platforms that do not have native # messagebox support. # -# RCS: @(#) $Id: msgbox.tcl,v 1.10 2000/04/19 09:25:53 hobbs Exp $ +# RCS: @(#) $Id: msgbox.tcl,v 1.11 2000/04/27 18:28:59 ericm Exp $ # # Copyright (c) 1994-1997 Sun Microsystems, Inc. # @@ -214,18 +214,23 @@ proc tkMessageBox {args} { } } - if {[string compare $data(-default) ""]} { - set valid 0 - foreach btn $buttons { - if {[string equal [lindex $btn 0] $data(-default)]} { - set valid 1 - break - } - } - if {!$valid} { - error "invalid default button \"$data(-default)\"" + # If no default button was specified, the default default is the + # first button (Bug: 2218). + + if {$data(-default) == ""} { + set data(-default) [lindex [lindex $buttons 0] 0] + } + + set valid 0 + foreach btn $buttons { + if {[string equal [lindex $btn 0] $data(-default)]} { + set valid 1 + break } } + if {!$valid} { + error "invalid default button \"$data(-default)\"" + } # 2. Set the dialog to be a child window of $parent # |