Changeset 2744 for trunk/gui/scripts/periodictable.tcl
- Timestamp:
- Dec 27, 2011 2:45:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/periodictable.tcl
r1929 r2744 46 46 private common _colors 47 47 array set _colors { 48 actinoid-activebackground 49 actinoid-activeforeground 50 actinoid-disabledbackground 51 actinoid-disabledforeground 52 actinoid-background 53 actinoid-foreground 54 alkali-metal-activebackground 55 alkali-metal-activeforeground 56 alkali-metal-disabledbackground 57 alkali-metal-disabledforeground 58 alkali-metal-background 59 alkali-metal-foreground 60 alkaline-earth-metal-activebackground 61 alkaline-earth-metal-activeforeground 62 alkaline-earth-metal-disabledbackground 63 alkaline-earth-metal-disabledforeground 64 alkaline-earth-metal-background 65 alkaline-earth-metal-foreground 66 halogen-activebackground 67 halogen-activeforeground 68 halogen-disabledbackground 69 halogen-disabledforeground 70 halogen-background 71 halogen-foreground 72 lanthanoid-activebackground 73 lanthanoid-activeforeground 74 lanthanoid-disabledbackground 75 lanthanoid-disabledforeground 76 lanthanoid-background 77 lanthanoid-foreground 78 metalloid-activebackground 79 metalloid-activeforeground 80 metalloid-disabledbackground 81 metalloid-disabledforeground 82 metalloid-background 83 metalloid-foreground 84 noble-gas-activebackground 85 noble-gas-activeforeground 86 noble-gas-disabledbackground 87 noble-gas-disabledforeground 88 noble-gas-background 89 noble-gas-foreground 90 other-non-metal-activebackground 91 other-non-metal-activeforeground 92 other-non-metal-disabledbackground 93 other-non-metal-disabledforeground 94 other-non-metal-background 95 other-non-metal-foreground 96 post-transition-metal-activebackground \#9a9a9a97 post-transition-metal-activeforeground 98 post-transition-metal-disabledbackground 99 post-transition-metal-disabledforeground 100 post-transition-metal-background 101 post-transition-metal-foreground 102 transition-metal-activebackground 103 transition-metal-activeforeground 104 transition-metal-disabledbackground 105 transition-metal-disabledforeground 106 transition-metal-background 107 transition-metal-foreground 108 unknown-activebackground 109 unknown-activeforeground 110 unknown-disabledbackground 111 unknown-disabledforeground 112 unknown-background 113 unknown-foreground 48 actinoid-activebackground \#cd679a 49 actinoid-activeforeground white 50 actinoid-disabledbackground \#ff99cc 51 actinoid-disabledforeground \#D97DAB 52 actinoid-background \#ff99cc 53 actinoid-foreground black 54 alkali-metal-activebackground \#cd3434 55 alkali-metal-activeforeground white 56 alkali-metal-disabledbackground \#ff6666 57 alkali-metal-disabledforeground \#D04747 58 alkali-metal-background \#ff6666 59 alkali-metal-foreground black 60 alkaline-earth-metal-activebackground \#cdac7b 61 alkaline-earth-metal-activeforeground white 62 alkaline-earth-metal-disabledbackground \#ffdead 63 alkaline-earth-metal-disabledforeground \#C19A64 64 alkaline-earth-metal-background \#ffdead 65 alkaline-earth-metal-foreground black 66 halogen-activebackground \#cdcd67 67 halogen-activeforeground white 68 halogen-disabledbackground \#ffff99 69 halogen-disabledforeground \#D5D562 70 halogen-background \#ffff99 71 halogen-foreground black 72 lanthanoid-activebackground \#cd8dcd 73 lanthanoid-activeforeground white 74 lanthanoid-disabledbackground \#ffbfff 75 lanthanoid-disabledforeground \#D884D8 76 lanthanoid-background \#ffbfff 77 lanthanoid-foreground black 78 metalloid-activebackground \#9a9a67 79 metalloid-activeforeground white 80 metalloid-disabledbackground \#cccc99 81 metalloid-disabledforeground \#92922C 82 metalloid-background \#cccc99 83 metalloid-foreground black 84 noble-gas-activebackground \#8ecdcd 85 noble-gas-activeforeground white 86 noble-gas-disabledbackground \#c0ffff 87 noble-gas-disabledforeground \#7FC1C1 88 noble-gas-background \#c0ffff 89 noble-gas-foreground black 90 other-non-metal-activebackground \#6ecd6e 91 other-non-metal-activeforeground white 92 other-non-metal-disabledbackground \#a0ffa0 93 other-non-metal-disabledforeground \#6ACD6A 94 other-non-metal-background \#a0ffa0 95 other-non-metal-foreground black 96 post-transition-metal-activebackground \#9a9a9a 97 post-transition-metal-activeforeground white 98 post-transition-metal-disabledbackground \#cccccc 99 post-transition-metal-disabledforeground \#999999 100 post-transition-metal-background \#cccccc 101 post-transition-metal-foreground black 102 transition-metal-activebackground \#cd8e8e 103 transition-metal-activeforeground white 104 transition-metal-disabledbackground \#ffc0c0 105 transition-metal-disabledforeground \#C77E7E 106 transition-metal-background \#ffc0c0 107 transition-metal-foreground black 108 unknown-activebackground \#cdcdcd 109 unknown-activeforeground white 110 unknown-disabledbackground \#ffffff 111 unknown-disabledforeground \#B9B9B9 112 unknown-background \#ffffff 113 unknown-foreground black 114 114 } 115 115 private common _tableData { 116 Hydrogen 1 H 1.0079 1 1other-non-metal117 Helium 2 He 4.0026 1 18noble-gas118 Lithium 3 Li 6.941(2) 2 1alkali-metal119 Beryllium 4 Be 9.0122 2 2alkaline-earth-metal120 Boron 5 B 10.811(7) 2 13metalloid121 Carbon 6 C 12.011 2 14other-non-metal122 Nitrogen 7 N 14.007 2 15other-non-metal123 Oxygen 8 O 15.999 2 16other-non-metal124 Fluorine 9 F 18.998 2 17halogen125 Neon 10 Ne 20.180 2 18noble-gas116 Hydrogen 1 H 1.0079 1 1 other-non-metal 117 Helium 2 He 4.0026 1 18 noble-gas 118 Lithium 3 Li 6.941(2) 2 1 alkali-metal 119 Beryllium 4 Be 9.0122 2 2 alkaline-earth-metal 120 Boron 5 B 10.811(7) 2 13 metalloid 121 Carbon 6 C 12.011 2 14 other-non-metal 122 Nitrogen 7 N 14.007 2 15 other-non-metal 123 Oxygen 8 O 15.999 2 16 other-non-metal 124 Fluorine 9 F 18.998 2 17 halogen 125 Neon 10 Ne 20.180 2 18 noble-gas 126 126 127 Sodium 11 Na 22.990 3 1alkali-metal128 Magnesium 12 Mg 24.305 3 2alkaline-earth-metal129 Aluminium 13 Al 26.982 3 13post-transition-metal130 Silicon 14 Si 28.086 3 14metalloid131 Phosphorus 15 P 30.974 3 15other-non-metal132 Sulfur 16 S 32.066(6) 3 16other-non-metal133 Chlorine 17 Cl 35.453 3 17halogen134 Argon 18 Ar 39.948(1) 3 18noble-gas127 Sodium 11 Na 22.990 3 1 alkali-metal 128 Magnesium 12 Mg 24.305 3 2 alkaline-earth-metal 129 Aluminium 13 Al 26.982 3 13 post-transition-metal 130 Silicon 14 Si 28.086 3 14 metalloid 131 Phosphorus 15 P 30.974 3 15 other-non-metal 132 Sulfur 16 S 32.066(6) 3 16 other-non-metal 133 Chlorine 17 Cl 35.453 3 17 halogen 134 Argon 18 Ar 39.948(1) 3 18 noble-gas 135 135 136 Potassium 19 K 39.098 4 1alkali-metal137 Calcium 20 Ca 40.078(4) 4 2alkaline-earth-metal138 Scandium 21 Sc 44.956 4 3transition-metal139 Titanium 22 Ti 47.867(1) 4 4transition-metal140 Vanadium 23 V 50.942(1) 4 5transition-metal141 Chromium 24 Cr 51.996 4 6transition-metal142 Manganese 25 Mn 54.938 4 7transition-metal143 Iron 26 Fe 55.845(2) 4 8transition-metal144 Cobalt 27 Co 58.933 4 9transition-metal145 Nickel 28 Ni 58.693 4 10transition-metal146 Copper 29 Cu 63.546(3) 4 11transition-metal147 Zinc 30 Zn 65.39(2) 4 12transition-metal148 Gallium 31 Ga 69.723(1) 4 13post-transition-metal149 Germanium 32 Ge 72.61(2) 4 14metalloid150 Arsenic 33 As 74.922 4 15metalloid151 Selenium 34 Se 78.96(3) 4 16other-non-metal152 Bromine 35 Br 79.904(1) 4 17halogen153 Krypton 36 Kr 83.80(1) 4 18noble-gas136 Potassium 19 K 39.098 4 1 alkali-metal 137 Calcium 20 Ca 40.078(4) 4 2 alkaline-earth-metal 138 Scandium 21 Sc 44.956 4 3 transition-metal 139 Titanium 22 Ti 47.867(1) 4 4 transition-metal 140 Vanadium 23 V 50.942(1) 4 5 transition-metal 141 Chromium 24 Cr 51.996 4 6 transition-metal 142 Manganese 25 Mn 54.938 4 7 transition-metal 143 Iron 26 Fe 55.845(2) 4 8 transition-metal 144 Cobalt 27 Co 58.933 4 9 transition-metal 145 Nickel 28 Ni 58.693 4 10 transition-metal 146 Copper 29 Cu 63.546(3) 4 11 transition-metal 147 Zinc 30 Zn 65.39(2) 4 12 transition-metal 148 Gallium 31 Ga 69.723(1) 4 13 post-transition-metal 149 Germanium 32 Ge 72.61(2) 4 14 metalloid 150 Arsenic 33 As 74.922 4 15 metalloid 151 Selenium 34 Se 78.96(3) 4 16 other-non-metal 152 Bromine 35 Br 79.904(1) 4 17 halogen 153 Krypton 36 Kr 83.80(1) 4 18 noble-gas 154 154 155 Rubidium 37 Rb 85.468 5 1alkali-metal156 Strontium 38 Sr 87.62(1) 5 2alkaline-earth-metal157 Yttrium 39 Y 88.906 5 3transition-metal158 Zirconium 40 Zr 91.224(2) 5 4transition-metal159 Niobium 41 Nb 92.906 5 5transition-metal160 Molybdenum 42 Mo 95.94(1) 5 6transition-metal161 Technetium 43 Tc [97.907] 5 7transition-metal162 Ruthenium 44 Ru 101.07(2) 5 8transition-metal163 Rhodium 45 Rh 102.906 5 9transition-metal164 Palladium 46 Pd 106.42(1) 5 10transition-metal165 Silver 47 Ag 107.868 5 11transition-metal166 Cadmium 48 Cd 112.411(8) 5 12transition-metal167 Indium 49 In 114.818(3) 5 13post-transition-metal168 Tin 50 Sn 118.710(7) 5 14post-transition-metal169 Antimony 51 Sb 121.760(1) 5 15metalloid170 Tellurium 52 Te 127.60(3) 5 16metalloid171 Iodine 53 I 126.904 5 17halogen172 Xenon 54 Xe 131.29(2) 5 18noble-gas155 Rubidium 37 Rb 85.468 5 1 alkali-metal 156 Strontium 38 Sr 87.62(1) 5 2 alkaline-earth-metal 157 Yttrium 39 Y 88.906 5 3 transition-metal 158 Zirconium 40 Zr 91.224(2) 5 4 transition-metal 159 Niobium 41 Nb 92.906 5 5 transition-metal 160 Molybdenum 42 Mo 95.94(1) 5 6 transition-metal 161 Technetium 43 Tc [97.907] 5 7 transition-metal 162 Ruthenium 44 Ru 101.07(2) 5 8 transition-metal 163 Rhodium 45 Rh 102.906 5 9 transition-metal 164 Palladium 46 Pd 106.42(1) 5 10 transition-metal 165 Silver 47 Ag 107.868 5 11 transition-metal 166 Cadmium 48 Cd 112.411(8) 5 12 transition-metal 167 Indium 49 In 114.818(3) 5 13 post-transition-metal 168 Tin 50 Sn 118.710(7) 5 14 post-transition-metal 169 Antimony 51 Sb 121.760(1) 5 15 metalloid 170 Tellurium 52 Te 127.60(3) 5 16 metalloid 171 Iodine 53 I 126.904 5 17 halogen 172 Xenon 54 Xe 131.29(2) 5 18 noble-gas 173 173 174 Cesium 55 Cs 132.905 6 1alkali-metal175 Barium 56 Ba 137.327(7) 6 2alkaline-earth-metal176 Lanthanides 57-71 * * 6 3lanthanoid177 Hafnium 72 Hf 178.49(2) 6 4transition-metal178 Tantalum 73 Ta 180.948 6 5transition-metal179 Tungsten 74 W 183.84(1) 6 6transition-metal180 Rhenium 75 Re 186.207(1) 6 7transition-metal181 Osmium 76 Os 190.23(3) 6 8transition-metal182 Iridium 77 Ir 192.217(3) 6 9transition-metal183 Platinum 78 Pt 195.084(9) 6 10transition-metal184 Gold 79 Au 196.967 6 11transition-metal185 Mercury 80 Hg 200.59(2) 6 12transition-metal186 Thallium 81 Tl 204.383 6 13post-transition-metal187 Lead 82 Pb 207.2(1) 6 14post-transition-metal188 Bismuth 83 Bi 208.980 6 15post-transition-metal189 Polonium 84 Po [208.982] 6 16metalloid190 Astatine 85 At [209.987] 6 17halogen191 Radon 86 Rn [222.018] 6 18noble-gas174 Cesium 55 Cs 132.905 6 1 alkali-metal 175 Barium 56 Ba 137.327(7) 6 2 alkaline-earth-metal 176 Lanthanides 57-71 * * 6 3 lanthanoid 177 Hafnium 72 Hf 178.49(2) 6 4 transition-metal 178 Tantalum 73 Ta 180.948 6 5 transition-metal 179 Tungsten 74 W 183.84(1) 6 6 transition-metal 180 Rhenium 75 Re 186.207(1) 6 7 transition-metal 181 Osmium 76 Os 190.23(3) 6 8 transition-metal 182 Iridium 77 Ir 192.217(3) 6 9 transition-metal 183 Platinum 78 Pt 195.084(9) 6 10 transition-metal 184 Gold 79 Au 196.967 6 11 transition-metal 185 Mercury 80 Hg 200.59(2) 6 12 transition-metal 186 Thallium 81 Tl 204.383 6 13 post-transition-metal 187 Lead 82 Pb 207.2(1) 6 14 post-transition-metal 188 Bismuth 83 Bi 208.980 6 15 post-transition-metal 189 Polonium 84 Po [208.982] 6 16 metalloid 190 Astatine 85 At [209.987] 6 17 halogen 191 Radon 86 Rn [222.018] 6 18 noble-gas 192 192 193 Francium 87 Fr [223.020] 7 1alkali-metal194 Radium 88 Ra [226.0254] 7 2alkaline-earth-metal195 Actinides 89-103 * * 7 3actinoid196 Rutherfordium 104 Rf [263.113] 7 4transition-metal197 Dubnium 105 Db [262.114] 7 5transition-metal198 Seaborgium 106 Sg [266.122] 7 6transition-metal199 Bohrium 107 Bh [264.1247] 7 7transition-metal200 Hassium 108 Hs [269.134] 7 8transition-metal201 Meitnerium 109 Mt [268.139] 7 9transition-metal202 Darmstadtium 110 Ds [272.146] 7 10transition-metal203 Roentgenium 111 Rg [272.154] 7 11transition-metal204 Ununbium 112 Uub [277] 7 12transition-metal205 Ununtrium 113 Uut [284] 7 13post-transition-metal206 Ununquadium 114 Uuq [289] 7 14post-transition-metal207 Ununpentium 115 Uup [288] 7 15post-transition-metal208 Ununhexium 116 Uuh [292] 7 16post-transition-metal209 Ununseptium 117 Uus ? 7 17unknown210 Ununoctium 118 Uuo [294] 7 18unknown193 Francium 87 Fr [223.020] 7 1 alkali-metal 194 Radium 88 Ra [226.0254] 7 2 alkaline-earth-metal 195 Actinides 89-103 * * 7 3 actinoid 196 Rutherfordium 104 Rf [263.113] 7 4 transition-metal 197 Dubnium 105 Db [262.114] 7 5 transition-metal 198 Seaborgium 106 Sg [266.122] 7 6 transition-metal 199 Bohrium 107 Bh [264.1247] 7 7 transition-metal 200 Hassium 108 Hs [269.134] 7 8 transition-metal 201 Meitnerium 109 Mt [268.139] 7 9 transition-metal 202 Darmstadtium 110 Ds [272.146] 7 10 transition-metal 203 Roentgenium 111 Rg [272.154] 7 11 transition-metal 204 Ununbium 112 Uub [277] 7 12 transition-metal 205 Ununtrium 113 Uut [284] 7 13 post-transition-metal 206 Ununquadium 114 Uuq [289] 7 14 post-transition-metal 207 Ununpentium 115 Uup [288] 7 15 post-transition-metal 208 Ununhexium 116 Uuh [292] 7 16 post-transition-metal 209 Ununseptium 117 Uus ? 7 17 unknown 210 Ununoctium 118 Uuo [294] 7 18 unknown 211 211 212 Lanthanum 57 La 138.905 8 3lanthanoid213 Cerium 58 Ce 140.116(1) 8 4lanthanoid214 Praseodymium 215 Neodymium 60 Nd 144.242(3) 8 6lanthanoid216 Promethium 61 Pm [144.913] 8 7lanthanoid217 Samarium 62 Sm 150.36(2) 8 8lanthanoid218 Europium 63 Eu 151.964(1) 8 9lanthanoid219 Gadolinium 64 Gd 157.25(3) 8 10lanthanoid220 Terbium 65 Tb 158.925 8 11lanthanoid221 Dysprosium 66 Dy 162.500(1) 8 12lanthanoid222 Holmium 67 Ho 164.930 8 13lanthanoid223 Erbium 68 Er 167.259(3) 8 14lanthanoid224 Thulium 69 Tm 168.934 8 15lanthanoid225 Ytterbium 70 Yb 173.04(3) 8 16lanthanoid226 Lutetium 71 Lu 174.967(1) 8 17lanthanoid212 Lanthanum 57 La 138.905 8 3 lanthanoid 213 Cerium 58 Ce 140.116(1) 8 4 lanthanoid 214 Praseodymium 59 Pr 140.908 8 5 lanthanoid 215 Neodymium 60 Nd 144.242(3) 8 6 lanthanoid 216 Promethium 61 Pm [144.913] 8 7 lanthanoid 217 Samarium 62 Sm 150.36(2) 8 8 lanthanoid 218 Europium 63 Eu 151.964(1) 8 9 lanthanoid 219 Gadolinium 64 Gd 157.25(3) 8 10 lanthanoid 220 Terbium 65 Tb 158.925 8 11 lanthanoid 221 Dysprosium 66 Dy 162.500(1) 8 12 lanthanoid 222 Holmium 67 Ho 164.930 8 13 lanthanoid 223 Erbium 68 Er 167.259(3) 8 14 lanthanoid 224 Thulium 69 Tm 168.934 8 15 lanthanoid 225 Ytterbium 70 Yb 173.04(3) 8 16 lanthanoid 226 Lutetium 71 Lu 174.967(1) 8 17 lanthanoid 227 227 228 Actinium 89 Ac [227.027] 9 3actinoid229 Thorium 90 Th 232.038 9 4actinoid230 Protactinium 91 Pa 231.036 9 5actinoid231 Uranium 92 U 238.029 9 6actinoid232 Neptunium 93 Np [237.048] 9 7actinoid233 Plutonium 94 Pu [244.064] 9 8actinoid234 Americium 95 Am [243.061] 9 9actinoid235 Curium 96 Cm [247.070] 9 10actinoid236 Berkelium 97 Bk [247.070] 9 11actinoid237 Californium 98 Cf [251.080] 9 12actinoid238 Einsteinium 99 Es [252.083] 9 13actinoid239 Fermium 100 Fm [257.095] 9 14actinoid240 Mendelevium 241 Nobelium 102 No [259.101] 9 16actinoid242 Lawrencium 103 Lr [262.110] 9 17actinoid228 Actinium 89 Ac [227.027] 9 3 actinoid 229 Thorium 90 Th 232.038 9 4 actinoid 230 Protactinium 91 Pa 231.036 9 5 actinoid 231 Uranium 92 U 238.029 9 6 actinoid 232 Neptunium 93 Np [237.048] 9 7 actinoid 233 Plutonium 94 Pu [244.064] 9 8 actinoid 234 Americium 95 Am [243.061] 9 9 actinoid 235 Curium 96 Cm [247.070] 9 10 actinoid 236 Berkelium 97 Bk [247.070] 9 11 actinoid 237 Californium 98 Cf [251.080] 9 12 actinoid 238 Einsteinium 99 Es [252.083] 9 13 actinoid 239 Fermium 100 Fm [257.095] 9 14 actinoid 240 Mendelevium 101 Md [258.098] 9 15 actinoid 241 Nobelium 102 No [259.101] 9 16 actinoid 242 Lawrencium 103 Lr [262.110] 9 17 actinoid 243 243 } 244 244 private common _types … … 247 247 Actinides Actinium Americium Berkelium Californium Curium 248 248 Einsteinium Fermium Mendelevium Neptunium Plutonium Protactinium 249 Thorium Uranium Lawrencium Nobelium 249 Thorium Uranium Lawrencium Nobelium 250 250 } 251 251 alkali-metal { 252 Cesium Francium Lithium Potassium Rubidium Sodium 252 Cesium Francium Lithium Potassium Rubidium Sodium 253 253 } 254 254 alkaline-earth-metal { 255 Barium Beryllium Calcium Magnesium Radium Strontium 255 Barium Beryllium Calcium Magnesium Radium Strontium 256 256 } 257 257 halogen { 258 Astatine Bromine Chlorine Fluorine Iodine 258 Astatine Bromine Chlorine Fluorine Iodine 259 259 } 260 260 lanthanoid { 261 Cerium Erbium Europium Gadolinium Holmium Lanthanides Lanthanum 261 Cerium Erbium Europium Gadolinium Holmium Lanthanides Lanthanum 262 262 Lutetium Neodymium Praseodymium Promethium Samarium Terbium 263 Thulium Ytterbium Dysprosium 263 Thulium Ytterbium Dysprosium 264 264 } 265 265 metalloid { 266 Arsenic Boron Germanium Polonium Silicon Tellurium Antimony 266 Arsenic Boron Germanium Polonium Silicon Tellurium Antimony 267 267 } 268 268 noble-gas { … … 270 270 } 271 271 other-non-metal { 272 Carbon Hydrogen Nitrogen Sulfur Oxygen Phosphorus Selenium 272 Carbon Hydrogen Nitrogen Sulfur Oxygen Phosphorus Selenium 273 273 } 274 274 post-transition-metal { 275 275 Aluminium Bismuth Gallium Indium Lead Thallium Tin Ununhexium 276 Ununpentium Ununquadium Ununtrium 276 Ununpentium Ununquadium Ununtrium 277 277 } 278 278 transition-metal { 279 Chromium Cobalt Copper Dubnium Gold Hafnium Hassium Iridium 280 Iron Manganese Meitnerium Mercury Molybdenum Nickel Niobium 279 Chromium Cobalt Copper Dubnium Gold Hafnium Hassium Iridium 280 Iron Manganese Meitnerium Mercury Molybdenum Nickel Niobium 281 281 Osmium Palladium Rhenium Rhodium Roentgenium Ruthenium 282 282 Rutherfordium Scandium Seaborgium Silver Tantalum Technetium 283 283 Titanium Tungsten Ununbium Vanadium Yttrium Zinc Zirconium 284 Bohrium Cadmium Darmstadtium Platinum 284 Bohrium Cadmium Darmstadtium Platinum 285 285 } 286 286 unknown { 287 Ununoctium 288 Ununseptium 287 Ununoctium 288 Ununseptium 289 289 } 290 290 } … … 345 345 # active <list of elements> 346 346 # 347 # 348 # 349 # 350 # 351 # 352 # 353 # 354 # 347 # Enables zero or more elements in the periodic table so that 348 # they can be selected. All elements are first disabled. Each 349 # argument can one of the following forms: 350 # 1. element name. 351 # 2. element symbol. 352 # 3. element number. 353 # 4. type of element. The argument is expanded into all 354 # elements of that type. 355 355 # 356 356 itcl::body Rappture::PeriodicTable::active { list } { … … 389 389 # inactive <list of elements> 390 390 # 391 # 392 # 393 # 394 # 395 # 396 # 397 # 398 # 391 # Disables zero or more elements in the periodic table so that 392 # they can't be selected. All elements are first enabled. Each 393 # argument can one of the following forms: 394 # 1. element name. 395 # 2. element symbol. 396 # 3. element number. 397 # 4. type of element. The argument is expanded into all 398 # elements of that type. 399 399 # 400 400 itcl::body Rappture::PeriodicTable::inactive { list } {
Note: See TracChangeset
for help on using the changeset viewer.