1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522
|
2024-10-27 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.10.1 tagged ****
2024-10-15 Harald Oehlmann <oehhar@users.sourceforge.net>
* Fix Tk9 compatibilty of statusbar.tcl.
Thanks to Paul Obermeier.
Ticket [7eb06c3a3a]
2024-10-15 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.10.0 tagged ****
2024-10-14 Harald Oehlmann <oehhar@users.sourceforge.net>
* TCL/Tk 9 patch provided by Emiliano. Ticket [b78ac94ee6]
2023-05-22 Harald Oehlmann <oehhar@users.sourceforge.net>
* color.tcl: Bugfix in color chooser.
Displayed color box got gray (instead yellow) after the
following action: manually enter #ff0, click on far right
pannel for intensity.
In addition, add limited support for manual entry of named
colors.
Thanks to Steve from https://sourceforge.net/projects/scidvspc/
for bug report and contribution. Ticket [4f9a4205f0]
2023-05-22 Harald Oehlmann <oehhar@users.sourceforge.net>
TCL9.0/Tk8.7 compatibility issues found by Paul Obermeier.
https://wiki.tcl-lang.org/page/Porting+extensions+to+Tcl+9
* dropsite.tcl: Replaced "$tcl_platform" with "$::tcl_platform"
in namespaces.
* widget.tcl: Replaced "package require Tcl 8.1.1" with
"package require Tcl 8.1.1-".
Ticket [1bee17b353]
2023-05-22 Harald Oehlmann <oehhar@users.sourceforge.net>
tree.tcl: Bug: node names with leading colons gave error.
The node name solution was changed, that ":" is now
substituded by "\5", and not "::". Ticket [d075175ade].
Thanks to Rolf Ade for the ticket.
2022-12-25 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.16 tagged ****
2022-10-12 Wolfgang Kechel <wolfgang.kechel@prs.de>
dropsite.tcl: Prevent multiple drops, when movement
while drop is processed. Ticket [1ef1f56cd1]
2021-12-03 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.15 tagged ****
2021-12-03 Harald Oehlmann <oehhar@users.sourceforge.net>
mainframe.tcl: Recalculate status bar height if the
text size is changed by a change of a used named font.
Ticket [acbd67752a]
2021-08-05 Harald Oehlmann <oehhar@users.sourceforge.net>
notebook.tcl: Repaint tabs if the text size is changed
by a change of a used named font. Ticket [acbd67752a]
2019-12-03 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.14 tagged ****
2019-11-12 Harald Oehlmann <oehhar@users.sourceforge.net>
spinbox.tcl: fix error about unsupported option
-disabledforeground when using themed widgets.
Thanks to Gerhard Reithofer and Christian Werner.
Ticket [071fc80f14]
2019-05-06 Harald Oehlmann <oehhar@users.sourceforge.net>
mainframe.tcl: Add optional parameter "Top" to internal
function "MainFrame::_create_menubar" to allow to use
a menu button for the main menu (Hack).
The mainframe may be initialized with "- menu {}".
Then, the menubutton may be created and the menu may
by added by:
MainFrame::_create_menubar .mf $mitems $menubutton.
Allow to skip a main menu level by empty menu label.
Purpose: support commands/checkboxes at first level.
2018-12-11 Harald Oehlmann <oehhar@users.sourceforge.net>
scrollframe.tcl: use Tk8.7 TIP 518 virtual event
<<NoManagedChild>> to resize client frame to 1x1 when
last child is unmapped.
2018-12-06 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.13 tagged ****
2018-11-26 Harald Oehlmann <oehhar@users.sourceforge.net>
dialog.c: For Unix, also Bind KP_Enter for default dialog
button invokation. Ticket [3e31f04367].
Thanks to Jos for the proposal.
2018-01-09 Harald Oehlmann <oehhar@users.sourceforge.net>
Spanish translation enhanced by Neko.
Ticket [a947e33526]
2018-01-10 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.12 tagged ****
2018-01-10 Harald Oehlmann <oehhar@users.sourceforge.net>
color.tcl: replace the help widget by balloons bound to the
widgets. Ticket [2cc70ce1cb]
2018-01-09 Harald Oehlmann <oehhar@users.sourceforge.net>
color.tcl: New option -command allows to get a callback
when the user does an unvalidated choice.
New option -background and command SelectColor for
window background.
TitleFrames, Dynamic help and Aqua native buttons used.
Show current choice by highlighting, not focus, to avoid
conflict with keyboard traversal.
Shows entry widget for numerical color input/output.
New option -help to show a help area.
Patch by Keith J. Nash
Ticket [75101bf5ce]
Translators: Jima (es), Vogel (fr), Marcus (nl), Ian (da)
Ticket [a947e33526]
2017-11-03 Harald Oehlmann
notebook.tcl (+man,demo): Add possibility to NoteBook
to add an image at the right of each tab.
Ticket [15e19fe9ec]. Patch by Keith J. Nash.
2017-08-25 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.11 tagged ****
2017-05-08 Harald Oehlmann
MessageDlg.html: Documented the use of the native widget for
"MessageDlg -type !user" and the limited set of recognized
options. Ticket [8edade3cea] by Gerhard Reithofer
2016-10-31 Harald Oehlmann
scrollframe.tcl: Eric advised to check for unmapped window,
as the <Map> event may be executed in the unmapped state.
2016-10-31 Harald Oehlmann
scrollframe.tcl: width changed when unmapped and mapped.
Checkge the Configure vound proc to not be active when
currently unmapped. Ticket [72a5727d1b]. Thanks to
Alexandru for the ticket and patch.
2016-10-31 Harald Oehlmann
button.tcl: Reverted last change, Eric underlined to
not use ttk widgets as a base due to the option
data base. Did traditional fix to exclude all options
known by button and not known by ttk::button.
Ticket [845613e5590ae7cf]
2016-08-23 Harald Oehlmann
button.tcl: configure option of a ::Button gave error in
themed mode. Ticket [845613e5590ae7cf]. Report by Adrian.
2016-07-21 Harald Oehlmann
util.tcl: BWidget::place moved away from visible screens
if the current window is on a virtual screen outside of
the main screen (Windows multi-screen configuration).
Ticket [5919a0ec2d]
2016-07-15 Adrian Madrano Calvo
pckIndex.tcl: auto-load commands also from global namespace
and not only from BWidget namespace. Ticket [c86207db01]
2016-03-22 Harald Oehlmann <oehhar@users.sourceforge.net>
Only support themed packages Tile 0.8 or Ttk.
Repair the button spacing in themed font toolbar.
Ticket [d7ea07c40a]
2016-03-15 Harald Oehlmann <oehhar@users.sourceforge.net>
mainframe.tcl: "Mainframe configure" caused error in themed
mode. Ticket [52273c0a4e]
2016-03-08 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.10 tagged ****
2016-01-07 Adrian Medrano Calvo
listbox.tcl: Listbox did not scroll to current item on
startup. Ticket [ae238d5a7]
2016-01-07 Harald Oehlmann <oehhar@users.sourceforge.net>
lang/da.rc, lang/es.rc, lang/fr.rc, lang/no.rc:
Translations non portable on utf-8 systems.
File encoding changed to utf-8. Ticket [6c91e43d76]
2016-01-07 Harald Oehlmann <oehhar@users.sourceforge.net>
tree.tcl: Tree lines are black by default even if background
is black. Ticket [ed4c1dab46]
2015-12-08 Harald Oehlmann <oehhar@users.sourceforge.net>
listbox.tcl: 8.4 compatibility was broken due to the use of
min/max math functions. Ticket [0aef856302]
2015-11-04 Harald Oehlmann <oehhar@users.sourceforge.net>
dynhelp.tcl: Drop the assumption that all windows
screen are the same size (of fix dated 2009-06-26)
and use the virtual screen information to place the bubble
help. Ticket [b64e03e548].
2015-10-18 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.9 tagged ****
2015-03-18 Harald Oehlmann <oehhar@users.sourceforge.net>
widget.tcl: Widget::define got new parameter -namespace,
allowing megawidget namespace be different to
class name. This allows lower case namespace names.
Patch by Adrian Medrano Calvo. Ticket [023a631b20]
2014-09-10 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.8 tagged ****
2014-09-05 Harald Oehlmann <oehhar@users.sourceforge.net>
widget.tcl: Widget::which errors when option not present.
Ticket [397db23424]
2014-05-21 Harald Oehlmann <oehhar@users.sourceforge.net>
widget.tcl: Don't invoke unqualified upvar in callers
scope. Patch by Adrian Medrano Calvo. Ticket [046fa04231]
widget.tcl: Don't double creation of temporary widget for
default values retrieval. Use result of _get_tkwidget_options
instead. By Adrian Medrano Calvo. Ticket [393b67ab19]
widget.tcl: New procedure Widget::which (as in [namespace which]),
that returns the fully qualified name for a widget option or
widget variable. By Adrian Medrano Calvo. Ticket [a8705e5fd9]
widget.tcl: Remove unneeded upvar. By Adrian Medrano Calvo.
Ticket [43f93e0a97]
widget.tcl et al: remove apparently unused procedure
Widget::syncoptions and all calls. By Adrian Medrano Calvo.
Ticket [3c2b8eafc6]
2013-12-13 Harald Oehlmann <oehhar@users.sourceforge.net>
scrollframe.tcl: Make -constrainedwidth 1 and
-constrainedheight 1 work together.
Patch by Simon Bachmann. Ticket [2fa44401d5]
2013-10-17 Harald Oehlmann <oehhar@users.sourceforge.net>
widget.tcl: Remove temporary widget.
By Wolfgang S. Kechel. Ticket [6cd041bcc1]
2013-10-15 Harald Oehlmann <oehhar@users.sourceforge.net>
combobox.tcl: Themed ComboBox color specifications
are honored. By Wolfgang S. Kechel. Ticket [6c6704e40f]
2013-10-14 Harald Oehlmann <oehhar@users.sourceforge.net>
combobox.tcl: Fails in themed mode with "unknown
option -bg". Patch solves this but listbox items
are white on white when "-foreground" is specified.
By Wolfgang S. Kechel. Ticket [6632134ce9]
listbox.tcl: Update on option -deltay added.
Set x0 to 2 to make highlight work and look nice for
listbox with image.
Take image into account to show selection.
By Wolfgang S. Kechel. Ticket [ff1787af9c]
scrollw.tcl: Raise scrolled window if it is below in
the window hierarchy. By Wolfgang S. Kechel.
Ticket [ff1787af9c]
2013-10-07 Harald Oehlmann <oehhar@users.sourceforge.net>
dynhelp.tcl: Sometimes the tooltip does not occur under
gnome/metacity on ubuntu. By Wolfgang S. Kechel.
Ticket [a588d2f800]
2013-09-15 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.7 tagged ****
2013-09-11 Harald Oehlmann <oehhar@users.sourceforge.net>
xpm2image.tcl: many issues fixed in xpm import
by Mattias Hembruch. Ticket [9a8b2ee42e]
2013-08-14 Harald Oehlmann <oehhar@users.sourceforge.net>
* notebook.tcl: cured error in _resize, that
data($p,width) is not (jet) present. Ticket [a4cbba655d].
2013-06-28 Harald Oehlmann <oehhar@users.sourceforge.net>
* mainframe.tcl: Included Patch [9f67a66609]
curing issues of Shift-Accellerators with Shift-Lock
on Mac. By Keith Nash, Ticket [83ce3e84e7].
2013-06-26 Harald Oehlmann <oehhar@users.sourceforge.net>
* mainframe.tcl: Reverted Patch [1977644]
(-casesensitive for accellerators). It has
issues with shift-lock.
2013-06-21 Harald Oehlmann <oehhar@users.sourceforge.net>
* labelentry.tcl: Bug fixed:
Methods from Tk entry widget restored [Bug 1002844].
* mainframe.tcl: Allow case sensitive accelerators
by new option -casesensitive.
Patch by cmard [Patch 1977644]
* mainframe.tcl: Allow new modifiers Shift, Cmd and ShiftCmd
for accelerators. Patch by K.J.Nash [Patch-83ce3e84e7]
* mainframe.tcl: When changing MainFrame -background, do
not change menu colors on Aqua.
Fix by Keith J.Nash [Bug-a81b7afc1e]
* init.tcl: Make loadable in save interpreter.
Fix by Keith J.Nash [Bug-4365a23bd3]
* combobox.tcl: Add method getentry to return entry
widget path for bind purposes.
Patch by Michael [Patch-2340355]
2013-01-09 Harald Oehlmann <oehhar@users.sourceforge.net>
* widget.tcl: Bug fixed:
Error 'invalid command name ".#BWidget.#ttk::entry"'
arises in themed mode when an Entry widget should get
focus by the tab key.
The temporary widget creation fails due to the "::" in
the command name of ttk widgets.
Any "::" is replaced by "__" [Bug 3599955].
2011-07-27 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.6 tagged ****
2012-04-12 Harald Oehlmann <oehhar@users.sourceforge.net>
* listbox.tcl ListBox::selection Only redraw if
selection changed. Patch by Wolfgang S. Kechel [Bug 3517145]
2012-04-02 Harald Oehlmann <oehhar@users.sourceforge.net>
* entry.tcl, BWMan/entry.tcl checkbox.tcl Themed mode:
Invoking "configure" without arguments results in errors
that non-ttk options are not present.
Removed Entry options: -background -foreground -relief
-borderwidth -fg -bg -bd. Reported by Wolfgang S. Kechel
[Bug 3513263]
* entry.tcl mapped entry option -state to ttk::entry
state in themed mode to make state change visible.
2012-03-06 Harald Oehlmann <oehhar@users.sourceforge.net>
* BWMan/ListBox.html documented options -selectfill and
-autofocus as read-only. Reported by Wolfgang S. Kechel
[Bug 3497592]
2011-11-14 Harald Oehlmann <oehhar@users.sourceforge.net>
* widget.tcl (Widget::focusOK) fixed list with update.
Arises, if a ttk widget with a widget path with spaces
is the next widget. Reported by jaspertheperson
[Bug 3437761]
2011-06-24 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.5 tagged ****
2011-06-23 Harald Oehlmann <oehhar@users.sourceforge.net>
* listbox.tcl (listbox::generate_data) fixed last patch
by ryotakatsuki [Bug 3324610]
2011-06-23 Harald Oehlmann <oehhar@users.sourceforge.net>
* listbox.tcl Fix of Bug 3000293 broke listbox tags.
The bindImage subcommand did not report right tag.
Patch by ryotakatsuki [Bug 3324610]
2011-06-23 Harald Oehlmann <oehhar@users.sourceforge.net>
* listbox.tcl, tree.tcl (_update_scrollregion) the linewise
scrolling did not always scroll up to the end on windows 7.
Report and patch by Wojciech Kocjan, review and modification
by Koen Danckaert [Bug 3317772]
2011-05-25 Harald Oehlmann <oehhar@users.sourceforge.net>
*mainframe.tcl: Add a boolean readonly option -sizegrip
to show a sizegrip widget in themed mode.
2011-05-24 Harald Oehlmann <oehhar@users.sourceforge.net>
*lang/pl.rc updated by Wojciech Kocjan.
2011-04-26 Harald Oehlmann <oehhar@users.sourceforge.net>
*notebook.tcl The user frame of the notebook is now a themed
frame in themed mode. The set background color does not apply
to the user frame in this case.
2011-04-26 Harald Oehlmann <oehhar@users.sourceforge.net>
label.tcl configuring foreground color caused error when
themed [Bug 3292977]
2011-04-20 Harald Oehlmann <oehhar@users.sourceforge.net>
lang/hu.rc by Rezso updated
2011-04-20 Harald Oehlmann <oehhar@users.sourceforge.net>
* font.tcl, lang/*.rc: Add translation possibility
for color picker button of font dialog.
Used google translater to translate "Color" to all languages.
Please check if this is correct. [Bug 3289573] reported by Rezso
2011-04-19 Harald Oehlmann <oehhar@users.sourceforge.net>
* lang/*.rc [Bug 3289573] : Add translation (templates) for the
Color picker widget text "Base colors" and "User colors".
Only german and english locals are provided so far.
2011-02-14 Harald Oehlmann <oehhar@users.sourceforge.net>
* combobox.tcl: [Bug 3182287] : ComboBox failes in themed mode
due to the use of the themed entry widget. The following options
are not supported (and thus called) any more: -relief
-highlightbackground -highlightforeground
2011-02-14 Harald Oehlmann <oehhar@users.sourceforge.net>
* entry.tcl, labelentry.tcl, labelframe.tcl, mainframe.tcl,
pagesmgr.tcl, scrollw.tcl: [Bug 3168761]:
entry failes when themed support activated with:
unknown option "-highlightthickness" (reported by George
on clt 27 Jan., 16:55).
The patch by Wojciech Kocjan fixes this and enhances
labelentry, labelframe and pagesmgr to also use themed frames.
Within scrollw.tcl, a bug for empty background handling is fixed.
The scrollbar background is not set any more for not-themed widget.
2011-01-17 Harald Oehlmann <oehhar@users.sourceforge.net>
* pkgIndex.tcl: corrected package version in package provide
2010-12-14 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.4 tagged ****
2010-12-14 Andreas Kupries <andreask@activestate.com>
* tree.tcl [Bug 3106208]: Followup. Moved the fixed code of the
last entry I did (2010-11-09) into a new command Tree::MergeFlag
and call this from both Tree::itemconfigure and Tree::insert.
Missing the place in Tree::insert caused another problem, found by
Dustin Littau.
2010-11-05 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.3 tagged ****
2010-11-23 Harald Oehlmann <oehhar@users.sourceforge.net>
* scrollw.tcl Add theming support for ScrolledWindow widget.
* ScrolledWindow.html Themed mode documented.
2010-11-21 Harald Oehlmann <oehhar@users.sourceforge.net>
* label.tcl Add theming support for Label widget.
* label.html Themed mode documented.
2010-11-16 Harald Oehlmann <oehhar@users.sourceforge.net>
* button.tcl Add theming support for Button widget.
Option "-relief link" is mapped to "Toolbutton style.
Option -height is not available when themed.
Thanks to Kevin Walzer for the test on MacOS.
* buttonbox.tcl When themed, only set themed button options.
The widget itself is not jet themed.
* Dialog.html Removed documentation of unavailable option -buttonwidth.
2010-11-09 Andreas Kupries <andreask@activestate.com>
* tree.tcl (Tree::itemconfigure): Fix intermingling of node names
and flag values which can cause an lsearch to fail, by mistaking a
flag value as the node searched for, and then treating a node name
as flags. As the upd,nodes value is a dictionary it should not be
search as a list. Now using a temporary array for quicker check
and append/replace [Bug 3106208].
2010-11-09 Harald Oehlmann <oehhar@users.sourceforge.net>
* mainframe.tcl Menu text shows white on white on Mac aqua
[Bug 3105665] reported by Scott Smedley fixed by Kevin Walzer.
2010-10-15 Harald Oehlmann <oehhar@users.sourceforge.net>
* label.tcl The frame surround the label gets under
unknown conditions a -padx 5. A pad of 0 is now
hard coded (Bug 3087955)
2010-08-04 Harald Oehlmann <oehhar@users.sourceforge.net>
* dialog.tcl Changed behaviour of window close button.
If -cancel is given, this button is invoked.
The cancel option may now be changed using the configure
method.
* init.tcl If msgcat is available use its locale to load
a lang/*.rc file instead always using en.rc.
2010-06-09 Harald Oehlmann <oehhar@users.sourceforge.net>
* Included lang/pl.rc from HEAD.
2010-06-07 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.2 tagged ****
Version 1.9.1 was skipped.
This was released in ActiveTCL and thus may exist on many
installations.
2010-05-31 Harald Oehlmann <oehhar@users.sourceforge.net>
* listbox.html Reflected patch 2010-05-12 in documentation.
The selection may not be disabled any more by binding button 1.
2010-05-12 Harald Oehlmann <oehhar@users.sourceforge.net>
* listbox.tcl(ListBox::bindText and ListBox::bindImage)
Method bindText and bindImage overwrote internal selection
bindings [Bug 3000293] reported by Robert Karen.
2010-05-11 Harald Oehlmann <oehhar@users.sourceforge.net>
* listbox.tcl(ListBox::see) Method see shifts image out of
view. Showed up, by a selection click on a long item with icon
[Bug 2999764] reported by Robert Karen.
2010-05-05 Harald Oehlmann <oehhar@users.sourceforge.net>
* listbox.tcl(ListBox::_configureSelectmode) Drag modifies
multiple selection [Bug 2995969] reported by Robert Karen.
Bound events on ButtonRelease-1 instead Button-1 for multiple
selections to avoid bug.
* listbox.tcl(ListBox::_drag_and_drop) The default drag and drop
routine only handled single drag and drop.
It was extended to handle also drag and drop of multiple entries.
2009-09-03 Harald Oehlmann <oehhar@users.sourceforge.net>
* util.tcl(BWidget::place), BWidget.html Widget placed incorrectly,
when bigger than current screen [Bug 2850031] by Thomas Grausgruber
Possible incompatibility: BWidget::place w h -> w,h are reduced to
screen width.
2009-08-12 Harald Oehlmann <oehhar@users.sourceforge.net>
* dynhelp.tcl Use balloon help font TkTooltipFont if tk <= 8.5.
Otherwise use helvetica 11 on Aqua [Patch 2835180] for Kevin Walzer
* dynhelp.tcl(DynamicHelp::_show_help)Replaced aqua conditional code
check by $Widget::_aqua
2009-08-10 Harald Oehlmann <oehhar@users.sourceforge.net>
* notebook.tcl (NoteBook::delete) Method delete destroyframe=1 and
reinsertion -> raise failed - state variables were deleted.
[Bug 2831785] by kjnash
* tree.tcl (Tree::_keynav) Fire virtual event <<TreeSelect>> also on
keyboard navigation [Patch 2828086] by Kevin Walzer
* combobox.tcl Replaced aqua conditional code check by $Widget::_aqua
2009-08-10 Harald Oehlmann <oehhar@users.sourceforge.net>
**** Branched to bwidget ****
This is the bwidget branch of module bwidget of tcllib
Use "-r bwidget" for all cvs operations
Scope: Package BWidget compatible to tcl/tk 8.1 and tk
(e.g. no tile/ttk).
2009-07-24 Harald Oehlmann <oehhar@users.sourceforge.net>
**** BWidget 1.9.0 tagged ****
* pkgIndex.tcl, README.txt: updated to BWidget 1.9
2009-07-23 Harald Oehlmann <oehhar@users.sourceforge.net>
* tree.tcl (Tree::_set_help), Tree.html DynamicHelp -helpcmd added to
tree node help
* tree.tcl (Tree::_draw_subnodes) a vertical line to a virtual root node
above the widget is only drawn when there are multiple child nodes.
This reverts the modification dated 2004-04-21 for this case.
[Patch 2825354] by Koen Danckaert
2009-07-17 Harald Oehlmann <oehhar@users.sourceforge.net>
* scrollframe.tcl (ScrollableFrame::create et al) ScrollableFrame.html
Background color of canvas takes the color of the scrolled frame.
If themed, canvas takes the themed color of the scrolled themed frame.
If themed, parameters -background and -bg are not available(doc + code).
[Patch 2822970] by Koen Danckaert
2009-07-15 Harald Oehlmann <oehhar@users.sourceforge.net>
* dynhelp.tcl (DynamicHelp) Typo from yesterday corrected
[Patch 2820851] by Koen Danckaert
2009-07-14 Harald Oehlmann <oehhar@users.sourceforge.net>
* dynhelp.tcl (DynamicHelp::_leave_info et al) issues:
- menu help sometimes not cleared when clicking off-window (unix)
- "-helpcmd" available also when dynamichelp is included in another
widget.
- given "-helpcmd" always called at global scope.
- Protect against multiple calls of <Leave> event.
[Patch 2820851] by Koen Danckaert
2009-07-07 Harald Oehlmann <oehhar@users.sourceforge.net>
* combobox.tcl (ComboBox::_select) Do not export selection if
-exportselection 0 [Patch 981545] by Jeffrey Hobbs
2009-07-02 Harald Oehlmann <oehhar@users.sourceforge.net>
* widget.tcl (Widget::configure) Bug: ProgressDlg option -geometry
not setable. The former patch was improved.
Koen Danckaert and myself argued, that we modify symptoms without
basic understandings. Anyway, better now than before.
2009-07-01 Harald Oehlmann <oehhar@users.sourceforge.net>
* mainframe.tcl, MainFrame.html (MainFrame::getmenustate)
Added method getmenustate to return menu tag state
[Bug 948063] reported by Rolf Ade
* combobox.tcl (ComboBox::configure) Bug fixed: Widget did not take
focus, when -editable false and "configure -state normal" called.
[Bug 756334] reported by Rolf Ade
* widget.tcl (Widget::configure) Bug: ProgressDlg option -bg not
setable. The special handling of subwidgets with special class or
path ":cmd" was improved. [Bug 611477]
* notebook.tcl (NoteBook::_itemconfigure) Not honored option:
itemconfigure ... -helptext [Patch 2814050] by Koen Danckaert
2009-06-30 Harald Oehlmann <oehhar@users.sourceforge.net>
* buttonbox.tcl (ButtonBox::_redraw) Bug corrected:
-uniform gridding option is used if tcl version >= 8.4 (not 8.3).
[Patch 2807147] by Koen Danckaert
* tree.tcl (Tree::_drop_cmd) If there is no node, drop didn't work.
[Bug 1042613] reported by Rolf Ade
* Tree.html Bind commands: removed promise that %W would work in future.
The underlying widgets should only be manipulated using the node id.
[Bug 1224203] by Jasper Taylor, remarks by J. Tang
* Tree.html Bind commands: with -selectfill, the given command is
overwritten for the background box. [Bug 1003962] by Torsten Berg
* dropsite.tcl (DropSite::register) Bug fixed: fails on multiple drop
targets [Bug 1213123] by T.Neil
* combobox.tcl (ComboBox::_create_popup) Bug fixed: Return key in drop
down list when -bwlistbox true [Bug 1205536] patch by Steve Landers
* combobox.tcl (ComboBox::_create_popup, ComboBox::_unmapliste)
Mac aqua and x11 fixes, multi screen issue still open.
[Bug 1451784] report by Jasper Taylor, fix by Kevin Walzer
* listbox.tcl (ListBox::_multiple_select) Selected item not deselected
on control-click [Bug 1029144] reported by Konrad Rosenbaum
2009-06-29 Harald Oehlmann <oehhar@users.sourceforge.net>
* ScrolledWindow.html ScrolledWindow documentation changed:
Documented options: -ipad, -sides, -size, -managed
[Patch 2807160] Text by Koen Danckaert
Removed (read only) remark of option -scrollbar.
* scrollframe.tcl (ScrollableFrame::create) changed bindings
[Patch 2807227] by Koen Danckaert (comment)
* scrollw.tcl (ScrolledWindow::_set_hscroll, ScrolledWindow::_set_vscroll)
Bug corrected: enless loop when both scrollbars where automatically
mapped and the window size was changed by this action (on linux).
Scrollbar unmapping and mapping secured by a locked update [Bug 2783019]
* widget.tcl (Widget::tkinclude) : option data base entry name keeps the
original name and not the renamed name.
The only resulting modification is to rename the option key for
"MessageDlg -text" from "*MessageDlg.frame.msg.message" to
"*MessageDlg.frame.msg.text". [Bug 1266792]
* widget.tcl (Widget::init) : fixed a memory leak on wrong option value.
[Bug 1230737]
2009-06-26 Harald Oehlmann <oehhar@users.sourceforge.net>
* listbox.tcl (ListBox::create et al) new feature: listbox option
-listbox now read/write [Bug 1501874] reported by Stephen Huntley
* dynhelp.tcl (DynamicHelp::_show_help) fixed issue (as far as possible):
Dynamic help baloon was on the main screen, if it touched the border on
a windows multi screen configuration.
The fix assumes, that all screens have same dimensions and no gaps in-
between. This is necessary, because multi-screen configuration paramters
may not be interrogated by tk (despite of coordinates out of the screen)
[Bug 1499135] reported by Gregor
* notebook.tcl (NoteBook::delete) Deleted also state variables
[Bug 1445219] reported by Eric Kemp-Benedict
2009-06-25 Harald Oehlmann <oehhar@users.sourceforge.net>
* combobox.tcl (ComboBox::getvalue et al) fixed bug: getvalue returned
first apearence of current data instead of clicked index, which may not
be the same if values is not unique. Additional variable _index(path)
added to hold click index [Bug 1610965] reported by Martin Lemburg
2009-06-24 Harald Oehlmann <oehhar@users.sourceforge.net>
* scrollframe.tcl (ScrollableFrame::create, ScrollableFrame::_resize,
ScrollableFrame::_frameConfigure) fixed two issues:
- Scrollbar activated even if not necessary
Fix: update scrolling reagion on configure event of the frame
- Disfunction if the frame got to small to be on the current view
Fix: update scrolling reagion on map or unmap events
[Patch 2807227] by Koen Danckaert
* buttonbox.tcl (ButtonBox::_redraw) Bug: homogeneous button width
not honored if button size changes after creation.
-uniform gridding option is used if tcl version >= 8.3.
[Patch 2807147] by Koen Danckaert
2009-06-16 Harald Oehlmann <oehhar@users.sourceforge.net>
* combobox.tcl (ComboBox::_create_popup) In dropdown list,
a vertical scrollbar was always shown if horizantal is used.
ScrolledWindow is now called with "-managed 1".
[Patch 2807160] by Koen Danckaert
2009-06-11 Harald Oehlmann <oehhar@users.sourceforge.net>
* combobox.tcl removed \ before empty line (potential
trap) [Bug 2804961] Andreas Kupries
* dialog.html Documented -geometry option.
[Bug 1634416] Erik Leunissen
2009-06-10 Harald Oehlmann <oehhar@users.sourceforge.net>
* no.rc added norwegian translation file
[Feature Request 2797153] provided by Lars Martin Hambro
* passwddlg.tcl (PasswdDlg::_verifonpasswd) check for
disabled password field and confirm directly.
[Bug 1642050] (Calvin Bascom) Enter key did not confirm
dialog when -passwdstate disabled.
* combobox.tcl (ComboBox::_select) included [Patch 981545],
but commented out - it works for me without it.
2009-06-10 Harald Oehlmann <oehhar@users.sourceforge.net>
* dialog.html Added documentation for option -buttonwidth
of Dialog
[Bug 1668587] (Eric Leunissen)
2009-06-10 Harald Oehlmann <oehhar@users.sourceforge.net>
* arrow.tcl initialised set _grab(oldstate) to "normal" to avoid
error when there is a ArrowButton::_leave without corresponding
ArrowButton::_enter [Bug 2762361]
* entry.tcl (Entry::_path_command) Add "invoke" to the list of
internally handled commands
[Bug 2340320] (patch by relaxmike@users.sourceforge.net)
* uitils.tcl (BWidget::place) BWidget::place used screen width
instead window width.
[Bug 1842346] (patch by Niels Gollesch ngoelles@users.sourceforge.net)
* listbox.tcl (ListBox::_redraw_selection) Added check if redrawn
item is on the to-delete list and thus does not exist any more as
BWidget. [Bug 1752755] (legolas_a20@users.sourceforge.net]
2008-10-30 Jeff Hobbs <jeffh@ActiveState.com>
* tree.tcl (Tree::_node_name_rev): Return node names as they are
input, and properly handle :: in node names. This changes
internal node name reps, but should be transparent to the user,
except for the result of [insert].
2008-05-26 Jeff Hobbs <jeffh@ActiveState.com>
* tree.tcl (Tree::_redraw_selection): do not allow empty
* listbox.tcl (ListBox::_redraw_selection): fill color as that
creates a transparent item that doesn't return a bbox. This
showed up on OS X/Aqua, where the listbox selectforeground
defaults to empty. [AS Bug 77186 74923]
2007-10-31 Jeff Hobbs <jeffh@ActiveState.com>
* lang/nl.rc (new): Dutch translation [Bug 1804469]
* lang/hu.rc (new): Hungarian translation [Bug 1821842]
* tree.tcl (Tree::insert): do node_name on parent arg [Bug 1046955]
* listbox.tcl: speed up ListBox insertion significantly. [Bug 1472443]
2007-05-11 Jeff Hobbs <jeffh@ActiveState.com>
* widget.tcl (Widget::theme): make sure Tk 8.5a6 is recognized as
having the themed widgets
2006-12-20 J. Tang <tang@jtang.org>
* util.tcl: fixed BWidget::write for widgets that require
DynamicHelp. [bug 1518803]
2006-12-05 Andreas Kupries <andreask@activestate.com>
* demo/demo.tcl (Demo::main): Removed the 'inscope' qualifier from
the 'package require Bwidget'. The package system already forces
loading and sourcing of package code in the global namespace, so
this is bogus.
2006-11-13 J. Tang <tang@jtang.org>
* panedw.tcl: if activator is set to line then its width is set to
3. --activator was an undocumented option; updated man page to
make it documented. Thanks to Jos Decoster for pointing this out.
2006-11-10 J. Tang <tang@jtang.org>
* widget.tcl: remove relative namespace resolution of variables,
in anticipation of TIP 278. Widget should have been doing this
anyways. [bug 1579744]
* DragSite.html: noted that -draginitcmd can return an empty
string to prevent a drag [bug 740499]
* DropSite.html: fixed documentation with DropSite::register
command [bug 740474]
* combobox.tcl: allow autocomplete and autopost be
enabled/disabled after the widget was created [bug 1588808]; fixed
keysym in autopost binding [bug 1589111]
* tree.tcl: fixed error with drag & drop's autoscroll [bug
1408494]
* listbox.tcl: fixed error with drag & drop's autoscroll; fixed
error when dropping at the end of the list
* Added dynamic help to text tags (man page updated); fixed resize
bug with scrollframes. Thanks to Jos Decoster for these patches.
2006-10-20 Jeff Hobbs <jeffh@ActiveState.com>
* utils.tcl (BWidget::bindMouseWheel): do not make special
mousewheel bindings if global ones exist (like from style::as)
2006-09-28 J. Tang <tang@jtang.org>
**** BWIDGET 1.8.0 TAGGED ****
* removed Makefile.in
* font.tcl: correctly handle code path when user cancels dialog
* passwd.tcl: fixed Dialog::enddialog error; fixed ordering error
* pkgIndex.tcl, README.txt: updated to BWidget 1.8
* removed configure.in and aclocal.m4
* messagedlg.tcl: explicitly marked the 'Abort' button upon -type
abortretryignore to be the default button [bug 970199]
* Tree.html: documented [find] and [line] commands [bug 626819];
noted bug with %W binding [bug 1224203]
* tree.tcl: added [bindArea] procedure; updated man page [patch
839066]
* combobox.tcl: added [clearvalue] proc to explicitly clear a
ComboBox value, updated man page [patch 780704]
2006-09-26 J. Tang <tang@jtang.org>
* passwd.tcl: don't ignore -labelwidth when calculating label
widths; return key moves through subwidgets like most login
managers [patch 922877, with slight change]
* font.tcl: add options to select font color and to disable font
sizes; updated man pages [patch 1531199]
* font.tcl: using arrow keys to browse font family / font size
will cause an update to the shown sample font [patch 947109]
* demo/basic.tcl: fixed Entry's enter command callback [bug
1400838]
2006-08-21 J. Tang <tang@jtang.org>
* combobox.tcl: unpost after autoposting when another Tk window
gets the focus; unpost upon hitting the enter key
* scrollw.tcl: allow toggling of scrollbars [bug 1488712]
* Tree.html: corrected documentation for Tree::opencmd (callback
does not append the path to the tree to the command) [bug 1507713]
* tree.tcl: disable keyboard navigation for empty trees [bug 1514855]
* tree.tcl: changed '-drawcross allways' to be '-drawcross
always'; updated documentation
2006-06-29 Jeff Hobbs <jeffh@ActiveState.com>
* statusbar.tcl (StatusBar::remove): remove neighboring separator
when removing the first item. [Bug 1512671]
2006-03-24 J. Tang <tang@jtang.org>
* pkgIndex.tcl: removed bogus "ControlFrame" entry [bug 1429405]
* MainFrame man page: fixed some typos on man page
* mainframe.tcl: fixed status bar placement when it is re-shown
after a [showstatusbar none] command [bug 1027568]
2006-03-23 J. Tang <tang@jtang.org>
* dynhelp.tcl: if a widget's help balloon is being displayed when
that widget is destroyed, also destroy the associated balloon [bug
1448424]
* listbox.tcl: when deleting an item from the ListBox that has
dynamic help text, also remove its entry from the help array [bug
1443461]
2006-02-10 J. Tang <tang@jtang.org>
* ProgressDlg man page: note that caller must invoke [update], the
progressbar will not do it automatically [bug 1105778]
* progressbar.tcl: -maximum value must now be non-zero, else
divide by 0 occurs [bug 1145523]; use double() calculations to
prevent integer overflow with very large -maximum values [bug
900165]
* PagesManager man page: clarified [add] behavior and default
state [bug 1305988]
2006-02-08 J. Tang <tang@jtang.org>
* combobox.tcl: allow -autocomplete with uppercase chars [bug
996569]; added -autopost option [patch 1359041]
* dynamic help man page: added clarification to -variable
2006-01-25 J. Tang <tang@jtang.org>
* buttonbox.tcl: fixed -homogeneous calculation [bug 1362899]
2005-11-01 Jeff Hobbs <jeffh@ActiveState.com>
* color.tcl (SelectColor::menu): use native dialog for palette
menu item where possible (and Widget::theme is used).
2005-10-31 Jeff Hobbs <jeffh@ActiveState.com>
* statusbar.tcl: correct Widget::theme typos
2005-10-12 Jeff Hobbs <jeffh@ActiveState.com>
* mainframe.tcl (MainFrame::configure): need to ignore -bg change
check when themed.
2005-09-28 Jeff Hobbs <jeffh@ActiveState.com>
* mainframe.tcl (MainFrame::_create_menubar): ignore -bg -bd opts
when themed
2005-09-22 Jeff Hobbs <jeffh@ActiveState.com>
* font.tcl (SelectFont::_getfont): fix tile compat to still set
data(family) and data(size) in any case.
2005-09-19 Jeff Hobbs <jeffh@ActiveState.com>
* mainframe.tcl:
* font.tcl: remove tile compat options that aren't valid.
2005-08-23 Jeff Hobbs <jeffh@ActiveState.com>
* mainframe.tcl: extend ttk theme awareness to subframes/separators
2005-08-10 Jeff Hobbs <jeffh@ActiveState.com>
* mainframe.tcl (MainFrame::create): make ttk theme aware
2005-07-27 Jeff Hobbs <jeffh@ActiveState.com>
* statusbar.tcl: if themed, use ttk::separator
* scrollframe.tcl: if themed, use ttk::frame
* font.tcl: if themed, use ttk::comboboxes and ttk::checkbuttons
* widget.tcl: encapsulate all .#BWidget* hidden widgets into a
single frame .#BWidget to clean up main '.' childspace.
Add 'Widget::theme ?boolean?' that, if enabled, has BWidgets try
to use some ttk themed widgets (*very* incomplete).
* init.tcl (Widget::_opt_defaults): make a proc for opt defaults,
recognize aqua as a platform
2005-02-25 Jeff Hobbs <jeffh@ActiveState.com>
* lang/da.rc (new): Danish language file [Bug 1151534] (elhaard)
2005-01-25 Jeff Hobbs <jeffh@ActiveState.com>
* notebook.tcl: reverted lester patch - too many bugs related to
deleting and reinsertion of tabs.
2004-12-01 Jeff Hobbs <jeffh@ActiveState.com>
* notebook.tcl: speed improvements via array hashing for many tabs
(lester).
2004-10-09 Rolf Ade <pointsman@users.sourceforge.net>
* mainframe.tcl: (MainFrame::_parse_accelerator) made
accelerator Ctrl-f in -menu definitions work. [Bug 1043107]
2004-09-24 Jeff Hobbs <jeffh@ActiveState.com>
* color.tcl: use toplevel instead of menu for dropdown color menu
and do better focus/grab restoration.
* utils.tcl (BWidget::RestoreFocusGrab,SetFocusGrab): add BWidget
equivalents of what Tk uses for better stacked grab/focus mgmt.
* dialog.tcl (Dialog::create): withdraw topleve immediately after
creation.
2004-09-14 Jeff Hobbs <jeffh@ActiveState.com>
* listbox.tcl: add FocusIn redirector to %W.c, add explicit
-takefocus 0 to the frame parent.
* widget.tcl (Widget::focusPrev): hack to avoid focus into direct
parent when it is a megawidget. [Bug 765667]
* notebook.tcl (NoteBook::_draw_page): adjust height for bottom
drawn tabs. [Bug 988628]
2004-09-09 Jeff Hobbs <jeffh@ActiveState.com>
* panelframe.tcl (new): new PanelFrame widget which creates a
* pkgIndex.tcl: frame with boxed title area that accepts
* Makefile.in: additional widgets.
* BWman/contents.html:
* BWman/navtree.html:
* BWman/PanelFrame.html (new):
* statusbar.tcl: improve init to use bwidget's automated arg
passing for subwidgets. Simplify delete subcommand to call remove.
* xpm2image.tcl (xpm-to-image): correctly recognize None with
-nocase
2004-09-02 Jeff Hobbs <jeffh@ActiveState.com>
* buttonbox.tcl, combobox.tcl: code safety fixes
* dialog.tcl: default button width to -11 on Win8.4, 8 otherwise
* color.tcl, font.tcl, messagedlg.tcl:
* passwddlg.tcl, progressdlg.tcl: change dialogs to anchor buttons e
* statusbar.tcl: better -bg handling (configure too), and tighten
up spacing on resize control to place it flush bottom right
2004-09-01 Jeff Hobbs <jeffh@ActiveState.com>
* statusbar.tcl: add -showseparator optional horizontal separator.
2004-08-31 Jeff Hobbs <jeffh@ActiveState.com>
* statusbar.tcl: correct name of image for use on unix.
Try to use of PNG image at each create (it just looks better).
2004-08-26 Jeff Hobbs <jeffh@ActiveState.com>
* tree.tcl (Tree::delete): call -selectcommand if we delete
something that was selected.
2004-08-25 Jeff Hobbs <jeffh@ActiveState.com>
* statusbar.tcl: correct use of PNG vs. GIF image.
Don't abort creation of statusbar when gridded - just don't try
to resize.
Correct example to use label -width 1
2004-08-20 Jeff Hobbs <jeffh@ActiveState.com>
* statusbar.tcl (new): Addition of a statusbar container widget
* pkgIndex.tcl: with resize control
* Makefile.in:
* BWman/contents.html:
* BWman/navtree.html:
* BWman/StatusBar.html (new):
2004-05-12 Jeff Hobbs <jeffh@ActiveState.com>
* font.tcl (SelectFont::create): don't hardcode -bd 2 when
creating the style selectbuttons.
* dynhelp.tcl (_show_help): account for OS X help style
2004-05-04 Jeff Hobbs <jeffh@ActiveState.com>
* listbox.tcl (_keyboard_navigation): make sure you can see the
item that you key navigate to. (aas)
2004-04-26 Jeff Hobbs <jeffh@ActiveState.com>
* tree.tcl (_update_nodes): align with _draw_nodes code,
specifically correcting placement of cross on new nodes and anchor
of changed window/image.
2004-04-23 Jeff Hobbs <jeffh@ActiveState.com>
* listbox.tcl (create): don't force -highlightthickness 1 as it
prevents the user changing it on creation.
(_draw_item): pass more cached info from _redraw_items for speed.
(_redraw_selection): correct drawing of selfill for items that
extend beyond the width of the window.
2004-04-22 Jeff Hobbs <jeffh@ActiveState.com>
* tree.tcl (edit): correct inversion of verifycmd emptiness test.
* listbox.tcl: correct eval/after/lists usage.
(_redraw_listbox): call _update_select_fill on redraw, otherwise
the insert of items causes wonkiness.
(_redraw_items): call update idle after changing cursor.
(create): Insert $path into the canvas bindings, so that anyone
binding directly onto the widget will see their bindings activated
when the canvas has focus. Add slightly modified up/down bindings
to the canvas, in case it gets the focus (like with -autofocus).
2004-04-21 Jeff Hobbs <jeffh@ActiveState.com>
* tree.tcl (_draw_subnodes): Adjust the drawing of the line to the
first root node to start at the vertical point (not go up).
* entry.tcl, arrow.tcl, combobox.tcl: better space/list handling
* entry.tcl: make the icursor not appear for non-editable and/or
state disabled comboboxes.
2004-03-08 Joe English <jenglish@users.sourceforge.net>
* init.tcl: (bugfix) Use <<PrevWindow>> virtual event instead
of <Shift-Tab> event for back-tab binding.
2004-02-07 Jeff Hobbs <jeffh@ActiveState.com>
* progressbar.tcl (ProgressBar::_modify): convert rect coords to
ints to prevent left-over lines that are likely due to a bug in
core Tk related to fractional coord refresh.
2004-02-03 Jeff Hobbs <jeffh@ActiveState.com>
* scrollw.tcl (ScrolledWindow::create): correctly set -relief and
-bd at creation time. [Bug #873666]
* init.tcl: don't modify *Listbox.background and *Button.padY
options - leave core widgets alone.
* mainframe.tcl (MainFrame::_create_menubar): set the bg for menus
only on unix (otherwise disturbs menu native L&F)
Correct some eval/list issues.
* BWman/MainFrame.html:
* mainframe.tcl (MainFrame::_create_entries): correct 'cascade'
spelling, but support old 'cascad' as well.
2004-01-28 Reinhard Max <max@suse.de>
* configure.in: bumped to v1.7.
This should have happened before releasing 1.7.0.
* Makefile.in: fixed support for DESTDIR.
2004-01-05 Damon Courtney <damon@unreality.com>
* init.tcl: Added a binding to the Tk spinbox to handle
traversal as loading BWidgets seems to screw up the default
handling for Tk. [Bug #867604]
* utils.tcl: Fixed a bug that would cause some geometry calculations
in BWidget::place to behave incorrectly. This would occasionally
make it appear as though a drawn dialog would freeze the application.
[Bug #868315]
2003-12-18 Bob Techentin <techentin@sourceforge.net>
**** BWIDGET 1.7.0 TAGGED ****
* README.txt: Changed revision to 1.7.0. Note that
1.7.0 does not include 2003-11-26 mod to notebook.tcl.
2003-11-26 Jeff Hobbs <jeffh@ActiveState.com>
* notebook.tcl (NoteBook::bindtabs): correct tab name returned. (groth)
2003-11-17 Jeff Hobbs <jeffh@ActiveState.com>
* entry.tcl (Entry::create): add missing line continuation.
[Patch #843932] (oehlmann)
2003-11-10 Damon Courtney <damon@unreality.com>
* entry.tcl: Use a button widget for -disabled options if
we're using 8.3 [Bug 839469]
2003-11-05 Damon Courtney <damon@unreality.com>
* combobox.tcl: Fixed dropdown listbox selection for
standard Tk listbox [Bug 831496].
2003-11-05 Jeff Hobbs <jeffh@ActiveState.com>
* scrollview.tcl (ScrollView::_set_view): correct :canvas to
renamed :cmd.
2003-10-30 Jeff Hobbs <jeffh@ActiveState.com>
* scrollw.tcl (ScrolledWindow::setwidget): check that the old
widget associated still exists before unconfiguring it. [Bug #833034]
2003-10-27 Damon Courtney <damon@unreality.com>
* combobox.tcl, listbox.tcl: Fixed keyboard navigation in the
combobox drop down [Bug 831496].
* listbox.tcl: Added curselection subcommand to mimic Tk listbox
behavior.
Added keyboard navigation to the listbox.
* widget.tcl: Added Widget::exists command to return whether a
widget is a BWidget (based on whether it exists in the _class array).
Widget::destroy now properly unsets the widget's variable in
the _class array.
2003-10-27 Joe English <jenglish@users.sourceforge.net>
* DragSite.html, DropSite.html: Fix markup errors [Bug #740484]
2003-10-20 Damon Courtney <damon@unreality.com>
* arrow.tcl, bitmap.tcl, button.tcl, buttonbox.tcl, color.tcl,
* combobox.tcl, dialog.tcl, dragsite.tcl, dropsite.tcl, entry.tcl
* font.tcl, label.tcl, labelentry.tcl, labelframe.tcl, listbox.tcl
* mainframe.tcl, messagedlg.tcl, notebook.tcl, pagesmgr.tcl
* panedw.tcl, passwddlg.tcl, progressbar.tcl, progressdlg.tcl
* scrollframe.tcl, scrollview.tcl, scrollw.tcl, separator.tcl
* spinbox.tcl, titleframe.tcl, tree.tcl, utils.tcl, widget.tcl
* xpm2image.tcl: Revamp again to let core Widget commands handle
most of the esoteric work of creating and destroying widgets
properly in the BWidget environment.
The command Widget::define defines a class, its filename and a
list of classes which it uses. This command handles creating
the command to create new widgets, creates a ::use command for
the class and calls the ::use command for each class included.
The command Widget::create does the renaming of the widget to
$path:cmd and creates the proc to redirect the widget commands.
Widget::destroy now does the rename $path "" that almost all
widgets do.
* button.tcl: Added a -state option to configure the state of the
entire box at once.
Added new insert and delete subcommands.
Added an after cancel to stop button repeat upon release.
[Bug 697022]
* combobox.tcl: Added -bwlistbox, -listboxwidth and -hottrack options.
-images option already existed, but now it actually does something.
Added getlistbox, get, icursor, post and unpost subcommands.
* dynhelp.tcl: Added add subcommand to replace the (now) deprecated
register command. The new command adds for a lot more flexibility
in applying dynamic help.
Help popup now comes up -topmost 1 on Windows if available.
* entry.tcl: Added -disabledbackground option so that the BWidget
entry more closely resembles the standard Tk entry.
[Bug 638236].
* init.tcl: Moved Widget::traverseTo into widget.tcl.
* label.tcl: Renamed BWLabel class to just Label.
* listbox.tcl: Added a default -dropcmd so that if -dragenabled
and -dropenabled are true, drag-and-drop within the same widget
is possible without any other options.
Added -autofocus option to specify that clicking within the listbox
should draw the focus in order to handle mouse wheel events.
Added -selectfill option for drawing a full selection rectangle
around selected items instead of just around the item.
Added getcanvas subcommand. [Bug 436762].
bindImage and bindText now map %W to $path in order to get an
accurate path in events. This can probably be fixed better
when we have more control over event parameters. [Bug 607745]
Added mouse wheel bindings by default.
Added <<ListboxSelect>> event when selection changes.
* mainframe.tcl: Fixed bug for adding CTRL-F items to a mainframe
[Bug 784269]
* messagedlg.tcl: Added -buttonwidth option.
* notebook.tcl: Added dynamic help to tabs.
Added -tabpady option to specify the padding between the text and
the tab.
Notebooks now handle multi-line text properly. [Bug 565284]
* scrollview.tcl: Rewritten to use a variable per path instead of
a big array.
* tree.tcl: Added -anchor option to nodes to specify the anchor for
an image or window when displayed.
Added -crossopenimage, -crosscloseimage, -crossopenbitmap and
-crossclosebitmap options to change the open / close cross.
Added mouse wheel bindings by default.
Added toggle subcommand to toggle a single tree node.
Added <<TreeSelect>> event when selection changes.
The characters "& | ^ !" are all converted to | silently in
node names. This is to avoid errors because these characters
are special to the canvas widget. [Bug 746960]
bindImage and bindText now map %W to $path in order to get an
accurate path in events. This can probably be fixed better
when we have more control over event parameters. [Bug 607745]
* utils.tcl: Added BWidget::wrongNumArgsString command to return
a standard wrong # args error string.
Added BWidget::classes command that returns a list of all classes
required by a given class.
Added BWidget::inuse command to determine if a given class is inuse.
Added BWidget::library command to return a body of code that can
be saved into a project or other code based on the given classes.
When called with a list of classes, all the classes and code
necessary to use those classes is returned in a large string which
can then be written out to a file.
Added BWidget::write command to write to a given file the current
set of classes that are in use.
Added BWidget::bindMouseWheel command to setup default mouse
bindings on a given widget.
* widget.tcl: Added a new option type 'Padding' which will accept
the standard padding arguments in Tcl 8.4+.
Added Widget::define command to define a new BWidget class.
Added Widget::create command to create a BWidget properly.
Widget::destroy now attempts to delete a widget command created
through Widget::create.
Added Widget::options command to return the current options of
a given widget in a style that can be used to serialize a widget.
Added Widget::getOption command to get options based on children
having the same option.
* wizard.tcl: Added new Wizard widget.
2003-10-17 Jeff Hobbs <jeffh@ActiveState.com>
* arrow.tcl, bitmap.tcl, button.tcl, buttonbox.tcl, color.tcl,
* combobox.tcl, dialog.tcl, dragsite.tcl, dropsite.tcl, entry.tcl
* font.tcl, label.tcl, labelentry.tcl, labelframe.tcl, listbox.tcl
* mainframe.tcl, messagedlg.tcl, notebook.tcl, pagesmgr.tcl
* panedw.tcl, passwddlg.tcl, progressbar.tcl, progressdlg.tcl
* scrollframe.tcl, scrollview.tcl, scrollw.tcl, separator.tcl
* spinbox.tcl, titleframe.tcl, tree.tcl, utils.tcl, widget.tcl
* xpm2image.tcl: major revamp to reduce incorrect use of eval and
other list-safetiness evils. Also change !strcomp to streq.
2003-08-06 Jeff Hobbs <jeffh@ActiveState.com>
* listbox.tcl: Correct Listbox selection drawing [Bug #781652]
2003-07-17 Joe English <jenglish@users.sourceforge.net>
* init.tcl, combobox.tcl: Fix for [Bug 720032] "BWidget
breaks Tk entry behaviour". Highlight the entry
in a <<TraverseIn>> binding, instead of doing so
on every <FocusIn> event. Change the global <Tab>
and <Shift-Tab> bindings to generate <<TraverseIn>>
and <<TraverseOut>> events.
2003-07-17 Jeff Hobbs <jeffh@ActiveState.com>
* notebook.tcl: Use list with eval for safety.
Use lsearch -exact instead of default -glob in all uses.
* listbox.tcl (_multiple_select): correct shift-selection when
selectmode is multiple. [Bug 653266]
Use lsearch -exact instead of default -glob in all uses.
Use list with eval for safety.
* BWman/ScrolledWindow.html: clarify management of embedded widget.
2003-06-23 Damon Courtney <damon@unreality.com>
* combobox.tcl: Added a little better handling of keys in the
auto-complete.
2003-06-06 Damon Courtney <damon@unreality.com>
* combobox.tcl: Added a rudimentary auto-complete function
with option (-autocomplete) that is turned off by default.
Over time, I'm sure this function can be improved, but I
think it works pretty well for now.
* BWman/ComboBox.tcl: Added documentation for -autocomplete.
2003-06-05 Damon Courtney <damon@unreality.com>
* listbox.tcl: Liberal use of list where appropriate to make
the code safe for space-containing node names.
2003-05-23 Bob Techentin <techentin@sourceforge.net>
**** BWIDGET 1.6.0 TAGGED ****
* README.txt:
2003-05-18 Jeff Hobbs <jeffh@ActiveState.com>
* progressbar.tcl: correctly handle progressbar being quickly
created and deleted by deleting afters and checking var existence.
2003-05-18 Joe English <jenglish@users.sourceforge.net>
* widget.tcl (Widget::focusOK): Don't assume that '-editable'
option is always 1 or 0 for all widgets. [Bug 710658]
2003-05-14 Jeff Hobbs <jeffh@ActiveState.com>
* demo/tree.tcl: make the tree scrollview make sense in demo.
[Bug 684462]
* notebook.tcl: ensure that bd is min 1 at all times. [Bug 688227]
Correct use of eval with list.
* tree.tcl: correct node lsearch'ing to use -exact to allow for []
containing nodes [Bug 628041] (decoster)
2003-05-07 Jeff Hobbs <jeffh@ActiveState.com>
* dynhelp.tcl (DynamicHelp::_motion_balloon): correctly listify
after delayed _show_help callback.
2003-05-06 Jeff Hobbs <jeffh@ActiveState.com>
* scrollw.tcl (ScrolledWindow::setwidget): remove any existing
widget before setting the next.
2003-05-01 Jeff Hobbs <jeffh@ActiveState.com>
* tree.tcl (Tree::configure, Tree::_draw_node): add a full-width
box underneath the text and image/window that will react to the
node binding if -selectfill is true. It is an empty box that is
overly wide, but it could be improved to resize on Configure to
just the window width and replace the sel box.
2003-04-23 Jeff Hobbs <jeffh@ActiveState.com>
* tree.tcl: liberal use of list where appropriate to make the code
safe for space-containing node names.
Make use of string equal instead of !string compare.
(Tree::_redraw_selection): correct -selectfill to include the
image, in any, in the bbox calculation since it may be larger.
2003-04-15 Damon Courtney <damon@unreality.com>
* listbox.tcl
* tree.tcl: Added a #auto substitution for inserting new items
into a tree or listbox.
* BWman/ListBox.html
* BWman/Tree.html: Added documentation for #auto substitution.
2003-04-14 Jeff Hobbs <jeffh@ActiveState.com>
* utils.tcl (BWidget::focus): add optional refocus arg
* combobox.tcl: make droplist use solid 1-pixel relief more in
accordance with Windows style. Set topmost attribute on droplist.
Add bindings that unmap the droplist if we lose focus to another
application (where [focus] == ""), without refocusing to the entry.
2003-04-11 Jeff Hobbs <jeffh@ActiveState.com>
* combobox.tcl (ComboBox::_expand): add tab expansion behavior
when -expand tab is specified
(ComboBox::_focus_in): autohighlight full contents only when no
existing selection exists. [Bug #720024]
* BWman/ComboBox.html: doc -expand none|tab
2003-03-12 Damon Courtney <damon@unreality.com>
* listbox.tcl: Added dynamic help support to listbox items.
* tree.tcl: Fixed a little inconsistency in the tree dynamic help.
We don't need to save the whole path in the help array, just the
node.
2003-02-25 Jeff Hobbs <jeffh@ActiveState.com>
* scrollw.tcl: add lock around grid remove scrollbar to prevent
infinite loop in small window situations. (kienzle)
* pkgIndex.tcl:
* configure.in: bumped to v1.6
* scrollw.tcl: complete rewrite of ScrolledWindow widget to
address infinite loop scrollbar problems. This one is much
simpler and does not suffer the infinite loop. There still seems
to be an issue with shrinking smaller than one scrollbar width /
height in size, but that's not common (nor fatal). Addresses
[Patch #671821, #520903] [Bug #472718, #564691]
This may introduce new incompatabilities, but it does work as
expected for noted bugs and in the demos.
* widget.tcl: code cleanup
* scrollframe.tcl: code cleanup
2003-02-24 Jeff Hobbs <jeffh@ActiveState.com>
* panedw.tcl (_realize): only allow _realize to be called once the
Configure binding has triggered once. [Bug #613134]
[Patch #63500] (decoster)
2003-02-17 Jeff Hobbs <jeffh@ActiveState.com>
* font.tcl: comment out the adding of default style bits for bold
and italic. The allows setting the font to something like
"Courier 8", clicking B on and off and getting "Courier 8" back
again (otherwise gave "Courier 8 normal roman").
2003-02-08 Damon Courtney <damon@unreality.com>
* BWman/SelectColor.html
* color.tcl: Cleaned up some of the documentation of SelectColor
and made it actually work like the documentation says it does.
* BWman/DynamicHelp.html
* dynhelp.tcl: Added -topbackground, -padx and -pady options to
allow a little more flexibility in the look-and-feel of balloons.
Added the ability to bind dynamic help to individual items or tags
on a canvas.
* BWman/Tree.html
* tree.tcl: Added -padx and -deltax options to individual nodes
within a tree. Each option defaults to -1, meaning to take its
value from the global option of the same name.
Added dynamic help to nodes within a tree. Adds the following
options: -helptext, -helptype and -helpvar to each node.
* BWman/BWidget.html
* utils.tcl: Added BWidget::badOptionString utility to return a
standard error string when a given option doesn't match a list.
* BWman/Widget.html
* widget.tcl: Added Widget::getVariable proc to create a reference
to a variable relative to the given widget path.
2003-01-26 Damon Courtney <damon@unreality.com>
* BWman/DynamicHelp.html:
* dynhelp.tcl: Added -state option to disable help balloons on a
global scale.
* BWman/Tree.html:
* tree.tcl: Added -crossfill option to allow the + / - bitmap to
be filled with a different color than the connecting node lines.
-linesfill is now accurate in its help entry and only adjusts
the foreground color of the lines between the nodes.
2003-01-24 Joe English <jenglish@users.sourceforge.net>
* tree.tcl (Tree::delete, Tree::_subdelete): remove all deleted
nodes from the the selection [Bug #621178].
2003-01-17 Pat Thoyts <patthoyts@users.sourceforge.net>
* labelentry.tcl: fixed -textvariable option [bug #649383]
2002-10-14 Jeff Hobbs <jeffh@ActiveState.com>
* pkgIndex.tcl:
* configure.in: bump version to 1.5
* button.tcl: remove -repeatdelay and -repeatinterval for 8.4 to
allow Button to override them. [Bug #620103]
* combobox.tcl: make -entrybg also control the listbox background.
[Bug #519189] (chevreux)
* tree.tcl (_see): change to always show left edge of requested
item. [Patch #556077] (english) [NOTE: also included Patch #621331
"Allow delete of selected Tree nodes"]
* dynhelp.tcl: allow variable and balloon help simultaneously.
[Patch #567982] (decoster)
* BWman/LabelFrame.html:
* labelframe.tcl: allow -bitmap -image and -textvariable options
of the BWLabel component of a LabelFrame. [Patch #620753] (decoster)
* widget.tcl (_get_tkwidget_options): withdraw toplevel if it is
the TkResource base widget. [Patch #620754] (decoster)
* tree.tcl (delete): correct tree deletion with selected nodes.
[Patch #621331] (decoster)
* progressbar.tcl (_modify): use updated idletasks instead of
update. [Patch #622927] (decoster)
2002-09-25 Jeff Hobbs <jeffh@ActiveState.com>
* Makefile.in: better DESTDIR/libdir support (steffen)
2002-09-11 Jeff Hobbs <jeffh@ActiveState.com>
* color.tcl (SelectColor::menu): added tkwait and update to make
sure that the grab doesn't fail on Unix.
* listbox.tcl: corrected multiple selectmode bindings.
[Patch #483838, Bug #594853] (decoster)
2002-08-23 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* tree.tcl: Modified subcommand 'includes' of the method
'selection to properly extract its argument. ... Revamped the
whole subcommand to properly extract and check its arguments.
(create) Added Control-Button-1 bindings to allow toggling the
selection of a node. I will do no bindings for shift-selecting
and/or drag-selecting ranges. To complex for me right now.
Moved the code executing the -selectcommand callback to an
internal procedure, and added calls to that procedure to all
subcommands which change the selection. This fixes SF Bwidget
Bug #547245.
* BWman/Tree.html: Documented the 'includes' and 'range'
subcommands of the method 'selection' of tree widgets.
Documented the node option '-selectable'. Documented that the
subcommands extending or setting the selection silently ignore
unselectable nodes. Documented new 'toggle' subcommand of method
'selection'. Documented option --slectcommand'. Fixed bogus
table html in option lists.
2002-06-04 Jeff Hobbs <jeffh@ActiveState.com>
**** BWIDGET 1.4.1 TAGGED ****
* README.txt:
* configure.in:
* pkgIndex.tcl: up'ed version to 1.4.1
* listbox.tcl: corrected use of 'end' as move index. [Bug #561391]
* buttonbox.tcl:
* tree.tcl: force frame -padx/-pady to 0 to handle 8.4+ frame
padding options. [Bug #545119]
* scrollframe.tcl: corrected scrollregion configuration on
Configure of frame to use full width/height of canvas when the
canvas is larger. This ensures that scrolling "anchors" properly
to topleft.
* dialog.tcl: prevent dialog from freezing on Windows with tkwait
visibility on withdrawn toplevels. [Patch #521386] (chevreux)
* font.tcl: reworked loadfont to not sort font names unless
requested. [Patch #524353] (kienzle, hobbs)
* panedw.tcl: corrected handling of weighted panes following a
Configure event. [Patch #513320] (decoster)
* progressbar.tcl: Fixed display of vertical progressbar.
[Patch #561403]
2002-05-29 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* combobox.tcl: Changed relief of popup list to ridge, for Win*
platforms.
2002-05-09 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* dynhelp.tcl: Accepted patch for bug 528929. Reported by
<bach@users.sourceforge.net>, patch also by him.
2002-04-25 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* notebook.tcl: Accepted patch for bug #532246, fixing the
appearance of the tabs so that text is always visible
completely.
2002-01-26 Pat Thoyts <patthoyts@users.sourceforge.net>
* utils.tcl: Modified BWidget::place to support multiple screens
under Windows. Better support would require Tk modifications.
* demo/tree.tcl: Fixed for starting on secondary monitor under
windows.
* BWMan/BWidget.html: added documentation for BWidget::place.
2002-01-22 Jeff Hobbs <jeffh@ActiveState.com>
**** BWidget 1.4.0 tagged ****
* widget.tcl: added Color as an optional type, with _test_color
test. [RFE #443124].
2002-01-15 Jeff Hobbs <jeffh@ActiveState.com>
* BWman/ComboBox.html: removed reference to label options that
were removed when the LabelFrame was dropped. [Bug #477130]
* listbox.tcl: allowed drop handler to work in empty listbox.
[Bug #456883]
* mainframe.tcl: correct unprotected eval calls. [Patch #501210]
(chevreux)
2001-12-28 Jeff Hobbs <jeffh@ActiveState.com>
* BWman/Dialog.html:
* dialog.tcl: Added '-transient' and '-place' flags.
[Patch #483838] (decoster)
* BWman/Tree.html:
* tree.tcl: Added a 'recursive' argument to 'Tree::opentree' and
'Tree::closetree'. [Patch #483838] (decoster)
* BWman/ProgressBar.html:
* progressbar.tcl: Added new type 'nonincremental_infinite' and
modified movement of progressbar when in 'infinite' or
'nonincremental_infinite' mode. The 'nonincremental_infinite' can
be used when a certain process monitored by a ProgressBar returns
a total count and not an increment count. [Patch #483838] (decoster)
* BWman/PanedWindow.html:
* panedw.tcl: Added '-weights' flag with possible value 'extra' or
'available'. Since BWidget-1.3.1, the meaning of the '-weight'
flag for the 'PanedWindow::add' command was changed. This made it
difficult to create a layout where the panes occupy a certain
amount of the screen. When using the '-weights extra' flag when
creating a PanedWindow widget, the >=1.3.1 behavior is used: the
weights for the different panes are only used for extra space.
When using the '-weights available' flag, the weights for the
different panes are used to set the size of each panes relative to
the total available space. [Patch #483838] (decoster)
* BWman/ListBox.html:
* listbox.tcl: Added '-selectmode' flag and 2 possible
select-modes: single and multiple. [Patch #483838] (decoster)
* widget.tcl: Select element 4 (was 3) from the config-options to
get value from optiondb. [Patch #483838] (decoster)
* utils.tcl: added else case to place is called with location
different from 'at' and 'center' and without a parent.
[Patch #484123] (decoster)
* mainframe.tcl: added options -menubarfont, -menuentryfont and
-statusbarfont at creation time of the widget as well as
subsequent configures. [Patch #479935] (chevreux)
* listbox.tcl: added multipleinsert command to allow faster
inserts of multiple items. [Patch #458446] (chevreux)
* widget.tcl: added Widget::copyinit. [Patch #458446] (chevreux)
* BWman/NoteBook.html:
* notebook.tcl: added options for enhanced tab shape in notebooks.
[Patch #402466] (haneef)
* configure.in:
* pkgIndex.tcl:
* README.txt: bumped version to 1.4.0 (not released)
* mainframe.tcl (_create_menubar): start tagstate initially on.
[Patch #470273] (chevreux)
(_parse_accelerator): improve F* function key accelerator support.
[Patch #444172] (venski)
2001-10-14 Jeff Hobbs <jeffh@ActiveState.com>
* pagesmgr.tcl: reverted fix of 2001-10-11 - it was bogus.
2001-10-11 Jeff Hobbs <jeffh@ActiveState.com>
* pagesmgr.tcl: allowed the ability to specify page by name,
not just number.
2001-09-11 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* notebook.tcl: Removed 'Canvas' from the list of bindtags for the
internal canvas to prevent interference from application
specific bindings with our special widget. [459033].
2001-09-06 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* passwddlg.tcl: Accepted change by Bastien Chevreux
<bach@users.sourceforge.net> adding a -logineditable option to
the password dialog. [436340].
2001-09-05 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* panedw.tcl: Added option -activator to allow user to choose sash
activator. Reduced minimum allowed sash width. [442474]. Request
made by Bastien Chevreux <bach@users.sourceforge.net>.
* label.tcl: Corrected typo in BWlabel::configure [454505], report
and fix by Bastien Chevreux <bach@users.sourceforge.net>.
* arrow.tcl: Changed containing frame to be more invisible
(borderwidth 0). Fixes [458301], by Georgios Petasis
<petasis@users.sourceforge.net>.
2001-08-08 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* tree.tcl (Tree::_keynav): Added code to call the open and close
commands when the open-status of a node is toggled with the
space bar. Bug [449284].
* color.tcl: Added the missing definition of the main
'SelectColor' procedure. This prevented users from creating
these widgets in the documented way. Bug [449276].
2001-06-21 eric melski <ericm@ajubasolutions.com>
* tree.tcl: Corrected keyboard navigation so that open/close
commands are invoked when right/left arrows are used to open/close
nodes, patch from [Bug #435097]. Also corrected keyboard
navigation on right arrow press; previously only opened closed
nodes that had children, but should always open nodes, regardless
of whether it has children.
2001-06-11 Jeff Hobbs <jeffh@ActiveState.com>
* pkgIndex.tcl: bumped version to 1.3.1 and added Tk 8.1.1 package
require as Tcl 8.1.1 is needed in certain core areas for the new
string methods.
* mainframe.tcl: corrected state interpretation. It doesn't do
exact argument matching, but it is consistent with the rest of
BWidget. [Bug #224476]
* demo/demo.tcl: fixed demo script to run when called from
another directory
* messagedlg.tcl: corrected winfo exists call
* listbox.tcl: fixed string compare call
* combobox.tcl: added package require Tk 8.3.
* passwddlg.tcl:
* xpm2image.tcl:
* mainframe.tcl:
* panedw.tcl:
* utils.tcl:
* entry.tcl:
* dynhelp.tcl:
* dragsite.tcl:
* color.tcl: added braces to expr where appropriate
2000-10-31 Dan Kuchler <kuchler@ajubasolutions.com>
* combobox.tcl: Added the '-exact' option to the 'lsearch'
commands in the combobox code so that the correct index
of items will be returned even when there are glob/regexp
characters.
2000-10-10 Dan Kuchler <kuchler@ajubasolutions.com>
* dynhelp.tcl: Added the '-screen' option to the toplevel that
is created to display the help text to fix a bug reported by
Tupone Alfredo.
2000-10-01 Eric Melski <ericm@ajubasolutions.com>
* notebook.tcl: Fixed typo in _draw_page that incorrectly placed
images on tabs.
2000-09-17 Eric Melski <ericm@ajubasolutions.com>
* widget.tcl (_test_boolean): Altered to return strictly 0 or 1
(for false and true, respectively), rather than allowing the
string booleans (false, true, off, on, etc).
2000-09-07 Sven Delmas <sven@scriptics.com>
* mainframe.tcl: Fixed the typo of Alt (Atl) as reported in bug #
6079.
2000-09-05 Eric Melski <ericm@ajubasolutions.com>
* label.tcl: Corrected bindtags for BWidgets Label components:
primary component widget now includes the megawidget pathname in
its bindtags list, so that bindings on the megawidget pathname are
applied properly.
2000-08-10 Eric Melski <ericm@ajubasolutions.com>
* widget.tcl: Corrected a problem caused by the destruction of the
special .#BWidget* widgets, which are used by BWidgets for some
option value validations; formerly, if these were destroyed, it
could confuse the BWidgets system's internal state, and creating
BWidgets after destroying these helper widgets would throw an error.
2000-06-14 Dan Kuchler <kuchler@scriptics.com>
* dialog.tcl
* dropsite.tcl
* dynhelp.tcl
* scrollview.tcl: Replaced several catch {unset varname} calls with
if {[info exists varname]} {unset varname}. This avoids using the
catch, and also prevents the ::errorInfo corruption that was happening
in BWidgets.
2000-05-14 Dan Kuchler <kuchler@scriptics.com>
* tree.tcl: Fixed a typing error in the Tree::find procedure.
The procedure wouldn't work because there was a 'llengh' where there
should have been a 'llength'.
2000-05-08 Dan Kuchler <kuchler@scriptics.com>
* titleframe.tcl: Added a '-state' flag that is associated to the
state of the label. Now that labels can be disabled (in 8.3 and
beyond) this allows for the titleframe to have a disabled appearence.
2000-05-02 Eric Melski <ericm@scriptics.com>
* tree.tcl: Did some fancy focus footwork [Bug: 4491]. Now you
can do this: "Tree .t ; bind .t <Button-1> foo", and it will do
the right thing. This will enable the use of proper
focus-on-mouse-click bindings for trees, which in turn will fix
the focus problem described in 4491. In addition, I added a
binding to the canvas widget in the tree that redirects focus when
it leaves the canvas and goes to the frame, just in case.
* dialog.tcl: Added a -geometry option, to allow the specification
of geometry for the dialog. No particular care is taken to
validate the geometry string, so if it is bogus, you lose. [RFE:
5188].
2000-04-27 Eric Melski <ericm@scriptics.com>
* entry.tcl: Added smarts to handle Copy for non-editable entries
(it should be allowed, but was not previously) [Bug: 3755].
* notebook.tcl: Small tweaks for placement of images on tabs.
* combobox.tcl: Added code to ensure that non-editable (but
enabled) comboboxes could still be tabbed in to.
2000-04-26 Dan Kuchler <kuchler@scriptics.com>
* button.tcl: Fixed the bindings that get setup on buttons with
an underline specified to be case insensitive (i.e if 'A' or 'a'
was the underline character, Alt-A and Alt-a would both be bound
to the button.
2000-03-29 Sven Delmas <sven@scriptics.com>
* tree.tcl: Added protection for the left arrow key click in case
we are already at the root node. This used to throw a Tcl error
(fixes bug # 4619).
2000-03-20 Eric Melski <ericm@scriptics.com>
* progressbar.tcl: (configure) Added test for change to -maximum
value, so that bar is redrawn if maximum changes. [Bug: 4399].
* BWman/SpinBox.html: Removed references to -label* options.
* demo/select.tcl: Removed use of -label* options on ComboBox and
SpinBox. [Bug: 4394].
2000-03-14 Eric Melski <ericm@scriptics.com>
* button.tcl: (configure) replaced several hasChanged calls with
one hasChangedX call.
* dynhelp.tcl: (sethelp) replaced several hasChanged calls with
one hasChangedX call.
* entry.tcl: Replaced stack of hasChanged calls with one
hasChangedX (in configure); replaced a couple cget's with
getMegawidgetOption's.
* spinbox.tcl: Updated _test_options to use setMegawidgetOption,
and to only do that if it has to, instead of always doing it.
* tree.tcl: Worked on itemcget; instead of upvar'ing the
one-time-use variable, just refer to it directly.
* widget.tcl: One problem with [set
${class}::${path}:opt($option)] -- if path contains "foo(foo)",
the command will choke. Removed that particular
micro-optimization. Added setMegawidgetOption to compliment
getMegawidgetOption; extended hasChangedX to accept multiple
options to check. This allows us to compress stacks of hasChanged
calls into a single call (so there's a single function call, and a
single upvar...).
2000-03-13 Eric Melski <ericm@scriptics.com>
* combobox.tcl: Tweaked bg/background options so that button
didn't pick up entry background.
* widget.tcl: Removed dead code; micro-optimizations to initFromODB.
* tree.tcl: Added option for default -fill of tree nodes on windows.
* notebook.tcl: Removed commented code.
* button.tcl:
* tree.tcl:
* spinbox.tcl:
* entry.tcl:
* dropsite.tcl:
* dragsite.tcl:
* arrow.tcl: Replaced selected cget/getoption calls with
getMegawidgetOption calls.
* combobox.tcl: Removed LabelFrame from ComboBox (30% faster).
* widget.tcl: Added getMegawidgetOption function, which allows
direct access to megawidget-specific options (those that do not
map to a component widget option). This is dangerous, because it
bypasses some checks, and it will only work with options that are
specific to the megawidget. However, it is much faster, and
enables some functions (like visiblenodes) to be much faster.
* tree.tcl: Reworked visiblenodes function to do a tree walk to
find visible nodes. This is faster and more correct than the
previous implementation, which queried all the nodes in the tree
for their open bit.
2000-03-10 Eric Melski <ericm@scriptics.com>
* widget.tcl: Replaced an upvar with a direct reference to the
variable in initFromODB.
* dynhelp.tcl: Changed sethelp function to use new hasChangedX
function instead of hasChanged, which avoids an unneeded upvar,
for a little better speed.
* button.tcl: Changed to parseArgs/initFromODB format for a small
(25%) speedup in creation time.
2000-03-10 Sven Delmas <sven@scriptics.com>
* tree.tcl: Changed the allnodes procedure to visiblenodes, and
also the mechanism of retrieving those nodes. This took care of
the previously required update.
2000-03-09 Eric Melski <ericm@scriptics.com>
* entry.tcl: Added code to re-sync the -text option with the
contents of the entry widget before doing configuration; this
fixes [Bug: 4304].
2000-03-09 Sven Delmas <sven@scriptics.com>
* tree.tcl: Disabled the update before the find withtag in the
allnodes procedure. The nodes are apparently created delayed, so
before this procedure is called, the program has to do an
update. I don't do this in the procedure anymore, because it
caused multiple updates, making the app slower.
2000-03-08 Sven Delmas <sven@scriptics.com>
* tree.tcl: The new allnodes procedure was not handling the
"current" tag correctly. This is now stripped of.
2000-03-07 Eric Melski <ericm@scriptics.com>
* button.tcl: Added check for -state flag, to initialize it properly.
* entry.tcl: Changed to parseArgs/initFromODB format; added check
for -text flag to initialize it properly.
* labelentry.tcl: Changed to use parseArgs/initFromODB format.
2000-03-03 Eric Melski <ericm@scriptics.com>
* spinbox.tcl: Added a call in setvalue to scan the current value into
a float to trim out any 0 padding on the number (otherwise the zero's
make it look like octal to tcl, which chokes on numbers > 8)
2000-03-07 Sven Delmas <sven@scriptics.com>
* passwddlg.tcl: Reenabled the <Return> binding to activate the ok
button.
* dragsite.tcl: I added an extra protection into the _begin_drag
procedure to guard against a motion event that (sometimes) arrives
before the press event. This fixes bug # 4324.
2000-03-03 Eric Melski <ericm@scriptics.com>
* spinbox.tcl: Removed LabelFrame from SpinBox (BACKWARDS
INCOMPATIBLE) to speed creation; updated configure proc to use
hasChangedX instead of hasChanged, as it didn't really need the
values of the options it was checking.
2000-03-01 Eric Melski <ericm@scriptics.com>
* spinbox.tcl: Changed bindings to be on class SpinBox instead of
BwSpinBox, and added class SpinBoxEntry to the bindtags of the
SpinBox entry component.
* configure.in:
* pkgIndex.tcl: Bumped version to 1.3.0.
* tree.tcl: Changed focus redirect to use {after idle} to avoid
focus loops.
* label.tcl: Added -bd 0 -highlight... etc to wrapper frame; moved
class bindings to the frame instead of the component label.
* utils.tcl: Added helper function BWidget::refocus, to handle
focus redirection calls.
* spinbox.tcl: Changed focus redirect to use {after idle} to avoid
focus loops.
* combobox.tcl: Changed init to parseArgs/initFromODB style;
changed focus redirect to use {after idle} to avoid focus loops.
2000-02-29 Eric Melski <ericm@scriptics.com>
* widget.tcl: Added bits to handle
$path#subclass_that_inherits_from_other_bw_class megawidget names.
* passwddlg.tcl:
* progressdlg.tcl:
* progressbar.tcl: Changed init to parseArgs/initFromODB style.
* pkgIndex.tcl: Changed Label -> BWLabel
* messagedlg.tcl: Changed initialization to parseArgs/initFromODB
style. Changed to use tk_messageBox on UNIX.
* labelframe.tcl: Updated to use BWLabel instead of Label.
* labelentry.tcl: Added -class LabelEntry to widget.
* label.tcl: Changed class name to BWLabel (to avoid option db
clashes with tk labels), changed initialization to
parseArgs/initFromODB style.
* init.tcl: dropped obsolete Tree option from init.
* dialog.tcl: changed initialization to parseArgs/initFromODB style.
* notebook.tcl: Added -bd 0 -highlightthickness 0 -relief flat to
the notebook container frame so geometries are correct.
* entry.tcl: Fixed a conflict with configuring the Entry -text and
textvariables.
* dialog.tcl: added a -class option to the dialog, to allow the
class of the dialog to be set (this enables proper optiondb use
for things like the PasswdDlg).
2000-02-28 Eric Melski <ericm@scriptics.com>
* widget.tcl: Added Widget::varForOption function, which returns a
variable name that can be used to trace changes to an option for a
particular megawidget (such as the -values option of a combobox).
* entry.tcl: Made cget -text a little more efficient by
shortcircuiting in that case.
* combobox.tcl: Fixed bug #4248 by making the listbox use a
-listvariable instead of trying to micromanage the listbox contents.
* tests/entry.test: tests for the Entry widget.
* widget.tcl: minor code cleanup.
* tree.tcl: Was not getting proper default bg color on Windows,
and keyboard navigation was goofy because of internal structure
changes.
* entry.tcl: Fixed an issue with initial foreground color not
being picked up correctly.
2000-02-28 Sven Delmas <sven@scriptics.com>
* tree.tcl: Added a procedure called "allnodes" to retrieve the
names of all currently defined treenodes. Apparently the internal
widget structure of tree was changed recently. I adjusted the
"allnodes" procedure to that.
2000-02-25 Eric Melski <ericm@scriptics.com>
* combobox.tcl: Fixed a problem with non-editable comboboxes and
selecting values.
* arrow.tcl:
Fixed a problem with the invoke method (doing one too many winfo
parents in some cases)
* button.tcl:
* buttonbox.tcl:
* combobox.tcl:
* dialog.tcl:
* dynhelp.tcl:
* entry.tcl: (also fixed validation)
* label.tcl:
* labelframe.tcl:
* listbox.tcl:
* mainframe.tcl:
* notebook.tcl:
* pagesmgr.tcl:
* panedw.tcl:
* progressbar.tcl:
* scrollview.tcl:
* scrollw.tcl:
* separator.tcl:
* spinbox.tcl:
* titleframe.tcl:
* tree.tcl: Updated to new megawidget architecture.
* widget.tcl: Changed internal architecture. When possible,
megawidget options are stored in component widgets instead of in
an intermediary array. Also, made use of option database to make
megawidget creation more efficient.
2000-02-24 Eric Melski <ericm@scriptics.com>
* LICENSE.txt: Removed LGPL license; added Tcl-license terms.
2000-02-23 Eric Melski <ericm@scriptics.com>
* widget.tcl: Replaced _test_boolean function with a more efficient
implementation.
2000-02-18 Eric Melski <ericm@scriptics.com>
* images/target.xbm: Placeholder for actual icon.
* color.tcl: Change env(BWIDGET_LIBRARY) to ::BWIDGET::LIBRARY;
changed proc "dialogue" to "dialog"
* pkgIndex.tcl: Updated function spec for color.tcl.
* widget.tcl: Various minor speed tweaks; added a reverse mapping
from component widget options -> mega-widget options so that
subcget can be faster.
* entry.tcl:
* dropsite.tcl:
* dragsite.tcl:
* arrow.tcl: Tcl list'd the specs for Widget::declare calls.
* combobox.tcl: Removed extraneous ListBox::use call.
2000-02-17 Eric Melski <ericm@scriptics.com>
* notebook.tcl: Added an extra check to move the leftmost tab a
touch to the right when it is not selected (again, to make the
tabs more Windows-like). Also replaced redundant [string equal]
checks with a stored pre-check (ie, set foo [string equal ...]).
2000-02-16 Eric Melski <ericm@scriptics.com>
* notebook.tcl: Changed appearance of tabs; leftmost tab is now
flush with the left of the notebook, and the tabs look more
Windows-like.
2000-02-16 Sven Delmas <sven@scriptics.com>
* dialog.tcl: Added a new parameter to the draw procedure that
allows me to pass in the desired geometry for the window. This was
needed to support tracking of dialog window geometries.
* tree.tcl: Changed the <KeyPress-space> binding to use "+", so it
will not overwrite existing bindings (if there are any). Also
added some extra protection in the keynav procedure against the
user typing <Left> on a root node (this used to cause a stack
trace).
2000-02-11 Eric Melski <ericm@scriptics.com>
* tree.tcl: Integrated changes from Eric Boudaillier:
[itemconfigure -open ...]
optimized to only call redraw_idle 3 if node has subnodes.
_cross_event:
itemconfigure -open called before -opencmd/closecmd; no more
call to _redraw_idle (handled by other procedures)
_over_cmd:
allow position {root 0} when tree is empty
new [find] command:
[find @x,y ?confine?]
if confine is "confine" returns the node at window
coordinate x,y (x,y must be inside the bbox of the
node) else returns the node found on the line (in
pixel) pixel y
[find line]
returns the node on the line $line (in -deltay coords)
new [line] command:
[line node]
returns the line where node is drawn
-selectfill option added:
if true, selection is draw on full width of tree (instead of
just highlighting the bbox of the selected nodes)
* combobox.tcl: Integrated changes from Eric Boudaillier:
internal widget restructuring.
* tree.tcl: Added "range" subcommand to selection. Given two
nodes, node1 and node2, it will set the selection to the visible
nodes between (and including) node1 and node2. If node1 or node2
is not visible, it will find the first visible ancestor of the
node and use that as the start/end point instead.
* listbox.tcl: Integrated changes from Eric Boudaillier:
_over_cmd: allow position 0 when listbox is empty
find command, similar to tree find command.
* spinbox.tcl: Integrated changes from Eric Boudaillier:
cosmetic changes.
* color.tcl: Integrated changes from Eric Boudaillier:
split widget into two commands: SelectColor::menu and
SelectColor::dialog.
* progressbar.tcl: Integrated changes from Eric Boudaillier:
added -idle option to prevent call to update in case where task is
done in idle (ie, fileevents)
* scrollview.tcl: Integrated changes from Eric Boudaillier:
bindings changed.
* scrollw.tcl: Integrated changes from Eric Boudaillier:
-managed option: if true, scrollbar are managed during creation,
so their size are included in the requested size of the
ScrolledWindow. If false, they are not.
-sides option: specifies the side of the scrollbar.
-size option: specifies size of scrollbar.
-ipad option: specifies pad between scrollbar and scrolled widget.
* mainframe.tcl: Integrated changes from Eric Boudaillier: support
for function keys in accelerators, support for no modifier in
accelerators.
* notebook.tcl: Integrated changes from Eric Boudaillier:
-internalborderwidth (-ibd) option specifies pad around pages;
-foreground, -background, -activeforeground, -activebackground,
-disabledforeground options for each tab.
Code cleanup.
1999-12-23 Sven Delmas <sven@scriptics.com>
* scrollw.tcl: Added "update idletask" to scrollbar update to
prevent loss of update events.
1999-12-14 Sven Delmas <sven@scriptics.com>
* combobox.tcl: When the selected item is changed, the selection
is now set to the entire string.
1999-12-13 Eric Melski <ericm@scriptics.com>
* buttonbox.tcl: Added a getbuttonstate function, which retrieves
the value of a tag used on a button in the buttonbox.
1999-12-08 Eric Melski <ericm@scriptics.com>
* combobox.tcl: Removed code that cleared entry selection on focus out
events, as this crippled exportselection.
1999-10-29 Eric Melski <ericm@scriptics.com>
* buttonbox.tcl: Added a gettags function, which allows the user
to query the tags that are used on buttons in the buttonbox.
1999-10-29 Eric Melski <ericm@scriptics.com>
* font.tcl: Added one new flag: -querysystem. This lets the user
control whether the font selector queries the system
(via font families) for the list of fonts, or if it uses a preset
list of fonts (which is much faster and less likely to crash some
systems).
1999-10-25 Eric Melski <ericm@scriptics.com>
* font.tcl: Added support for two new flags: -families and -styles;
-families allows you to specify one of all, fixed, or variable, to
limit the choice of fonts to those fonts; -styles allows you to
specify a list of styles that can be set with the widget (ie,
bold, italic, etc).
1999-10-22 Eric Melski <ericm@scriptics.com>
* tree.tcl: Fixed some problems with keyboard traversal. Added
support for left/right arrows a la MS Explorer.
Added support for keyboard-based scrolling.
1999-10-21 Sven Delmas <sven@scriptics.com>
* combobox.tcl: Added support for keyboard traversal. The widget
will now tab in even when it is not editable. Also the entry
widget content will be selected when the user tabs in. The key
bindings now allow a traversal of the list (<Down> brings up the
list). The arrow button no longer switches to an up button, but
instead changes relief. The button is now more Windows NT like
(for Windows NT). Changed keyboard bindings: down/up now
display/hide the listbox; control-{up|down|prev|next} move through
the options without displaying the listbox.
1999-10-21 Eric Melski <ericm@scriptics.com>
* tree.tcl: Added a -selectable option to tree nodes, which
controls whether or not a given node is selectable (duh). This
works with the new -selectcommand option for the tree, and with
keyboard traversal (also new). Now, whenever the tree gets a
"selection set", it calls the given -selectcommand with the name
of the tree and the list of selected nodes, which makes it easier
to just drop in place and use.
1999-10-15 Eric Melski <ericm@scriptics.com>
* panedw.tcl: Added a -class PanedWindow option to the main frame
(the megawidget) of the paned window.
1999-10-15 Eric Melski <ericm@scriptics.com>
* dialog.tcl: Added an overrideredirect option to Dialog::draw, which
allows the user to control the overrideredirect state of the dialog.
1999-09-19 Eric Melski <ericm@scriptics.com>
* mainframe.tcl: Fixed _destroy to unset ALL state variables, so that
when a new MainFrame of the same name as an old one is created, it
doesn't pick up residual state from the old one.
1999-09-17 Eric Melski <ericm@scriptics.com
* mainframe.tcl: Modified menu creation/setmenustate functions to
support a new model of menustate. Instead of enabling/disabling a
menu item whenever any one of its tags changes state, now it only
enables menu items if all of its tags are set. This makes it
really easy to, say, only enable the "New Action" entry if both a
project is open and an element is selected.
* buttonbox.tcl: Added tagging mechanism to buttonbox. When using
$bbox add, the first parameter is a list of tags for the button. Then
use $bbox setbuttonstate to change the state of a tag.
1999-09-16 Eric Melski <ericm@scriptics.com>
* notebook.tcl: Added some (non-functional) code for doing
tab-notebooks with the tabs on the bottom.
|