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
|
<html>
<head>
<meta name="description" content="Pmw - a toolkit for building high-level compound widgets in Python">
<meta name="content" content="python, megawidget, mega widget, compound widget, gui, tkinter">
<title>Changes to Pmw</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ee"
vlink="551a8b" alink="ff0000">
<h1 ALIGN="CENTER">Changes to Pmw</h1>
<p>
6 January 1997</p>
<ul><li><p>Release of version 0.1</p>
</li></ul>
<p> 14 February 1997</p>
<ul><li><p>Fixed bug in Counter demo for the Macintosh - the maximum size of an
integer is smaller than the value returned by time.time().</p>
</li>
<li><p>Fixed bug in Grid demo for Tk 4.2 - grid_bbox returns garbage if it is
called without update_idletasks. Also, grid_bbox can only have two
arguments in Tk 4.1.</p>
</li>
<li><p>Modified ScrolledText demo so that the text widget contains enough text
to require a vertical scrollbar.</p>
</li>
<li><p>Changes to PmwBase:</p>
<ul><li><p>Prefixed the name of several private variables with a double underscore.</p>
</li>
<li><p>Added symbolic constants for the indexes into an optionInfo list.</p>
</li>
<li><p>Changed names of several methods and variables to be more descriptive.</p>
</li>
<li><p>Removed options() method.</p>
</li>
<li><p>Simplified configuration option data structures. Modified option
handling code so that default options are set correctly. If an
option is created before initialise() is called then initialise()
checks if the option is set by the keyword arguments to
initialise(). If not, then it is given the value found in the
Tk option database, if a value exists, or the default value. If an
option is created after initialise() is called, then it is given the
value found in the Tk option database, if a value exists, or the
default value.</p>
</li></ul>
</li>
<li><p>Replaced usage of self._hull in megawidgets by interior() method.</p>
</li>
<li><p>Added autoclear option to ComboBox.</p>
</li>
<li><p>Fixed bug in ComboBox - fast clicking on the arrow button could result
in an attempt to grab a window that was not yet visible.</p>
</li>
<li><p>Added "sys.exc_traceback = None" to the except clauses of all try
statements so that references to objects in the stack trace would not
be left.</p>
</li>
<li><p>Added takefocus option to PushButton.</p>
</li>
<li><p>Modified the getcurselection() method of ScrolledListBox so that it
returns a string if the selection mode is <strong>'single'</strong> or <strong>'browse'</strong>, rather
than a tuple with one element. This also affects methods forwarded and
derived from ScrolledListBox.</p>
</li>
<li><p>Modified ScrolledListBox so that it avoids unnecessary updates by
using idle timer.</p>
</li>
<li><p>Modified ScrolledText to use grid instead of pack.</p>
</li>
<li><p>Added shutdown() function to Tk module to clean up all references to
the Tcl interpreter and then delete it.</p>
</li>
<li><p>Fixed bug in Tk module for the Macintosh - update() was being called in
initialise() before the Tcl interpreter was created.</p>
</li></ul>
<p> 14 February 1997</p>
<ul><li><p>Version 0.1.1 completed and released internally.</p>
</li></ul>
<p> 6 March 1997</p>
<ul><li><p>Pmw now uses the standard Tkinter module. The Tk module has been
dropped. This means that the Tk module functions such as after,
bell, bind, update, etc, are no longer available and the equivalent
Tkinter methods should be used.</p>
</li>
<li><p>To restore some of the features of the Tk module, Pmw.initialise()
now adds run-time hooks into Tkinter to get notification of when Tk
widgets are created and destroyed. It also modifies the CallWrapper
class so that errors during callbacks and bindings can be displayed
in a window. If Pmw.initialise() is not called, Tkinter is not
modified and these features are not available.</p>
</li>
<li><p>If a Tk widget which is acting as the hull of a megawidget is
destroyed, then the megawidget is destroyed as well. This can
only happen if Pmw.initialise() is called.</p>
</li>
<li><p>Pmw.initialise() now takes the Tkinter root as its argument.</p>
</li>
<li><p>The parent of megawidgets now defaults to the Tk root. Previously,
the parent of non-toplevel megawidgets had to be given.</p>
</li>
<li><p>Added PmwBase.tracetk() function to get trace of calls to the Tcl
interpreter for debugging.</p>
</li>
<li><p>Added functions to PmwBase to display a busy cursor over the
application such as when a modal dialog is displayed or it is
blocked doing a long calculation. Uses busy command of the blt
extension, if present.</p>
</li>
<li><p>Created a nifty new demo which demonstrates most of the megawidgets
in a convenient way.</p>
</li>
<li><p>Added a TextDialog.</p>
</li>
<li><p>Added functionality to handle the grabbing of nested modal dialogs
correctly.</p>
</li>
<li><p>Added an activatecommand option to Dialog which allows, for example,
the PromptDialog widget to set the keyboard focus when it is
activated.</p>
</li>
<li><p>Added tests for Counter and logicalfont.</p>
</li>
<li><p>The ScrolledListBox selectioncommand is no longer given the widget
as its first argument.</p>
</li>
<li><p>Several method, function and component names were changed, to be
consistent with the coding conventions.</p>
</li>
<li><p>Some of the effects of moving from the Tk module to Tkinter are:</p>
<ul><li><p>The Tk module used to exit if there were no non-root toplevel
windows shown. This is no longer the case and so the application
must handle this explicitly, particularly if the root window is
withdrawn and the last non-root toplevel is deleted by the window
manager.</p>
</li>
<li><p>The Tk module bind functions and methods used to take a noEvent
argument to indicate that the Tk event should not be passed to the
callback. Tkinter does not support this.</p>
</li>
<li><p>The Tk module initialise() function should be replaced by
"root = Tkinter.Tk()" and root should be used instead of "Tk.Root()"</p>
</li>
<li><p>The Tk module quit() function should be replace by "root.destroy()".</p>
</li>
<li><p>Toplevels are not hidden when created. To be consistent,
MegaToplevels are not hidden either.</p>
</li>
<li><p>The hide and show methods are not available for Tkinter Toplevels,
only MegaToplevels</p>
</li>
<li><p>There is no grid_configure method.</p>
</li>
<li><p>Tkinter.Canvas.coords() returns a python list, not a tuple.</p>
</li>
<li><p>The Tkinter cget and configure widget methods always return
strings for the option values. The Tk module used to convert the
string to the appropriate python type (such as string, integer,
float, Variable, Image, callback function).</p>
</li>
<li><p>Tkinter Menu and Toplevel classes incorrectly have a pack method.</p>
</li>
<li><p>Menu class has no geometry method.</p>
</li>
<li><p>Canvas focus returns <strong>''</strong> rather than None.</p>
</li>
<li><p>Text mark_gravity returns <strong>''</strong> rather than None.</p>
</li></ul>
</li></ul>
<p> 13 March 1997</p>
<ul><li><p>Release of version 0.2</p>
</li></ul>
<p> 17 March 1997</p>
<ul><li><p>Set default WM_DELETE_WINDOW protocol of Tkinter.Toplevel to
destroy() and removed duplicated protocol request from all demos.</p>
</li>
<li><p>Modified text of ShowBusy demo to indicate that busy cursor will
only be seen if the BLT extension is present.</p>
</li>
<li><p>Replaced call to update() in PmwLabeledWidget.py with update_idletasks().</p>
</li>
<li><p>Changed name of PromptDialog component from <strong>'entry'</strong> to <strong>'entryfield'</strong>.</p>
</li></ul>
<p> 28 April 1997</p>
<ul><li><p>Version 0.3 released internally</p>
</li></ul>
<p> 19 August 1997</p>
<ul><li><p>Many changes made (see the version 0.4 porting guide for
more details).</p>
</li>
<li><p>The option propagation mechanism that iwidgets uses is too
cumbersome, too hard to understand and, in python, too slow.
Developed a new mechanism which is more explicit in naming
options. This resulted in most options which were simply
propagated to components being removed. Removed keep(), rename()
and ignore() methods and "usual" options.</p>
</li>
<li><p>For speed, Pmw no longer queries the Tk option database for
default values for megawidget options. Hence, resource names and
classes do not need to be supplied when creating options and
<strong>None</strong> is returned for the resource name and class when using
<code>configure()</code> to query the options. Option "types" no longer
used.</p>
</li>
<li><p>Changed method and component names to be more consistent.</p>
</li>
<li><p>Replaced most uses of pack() with grid().</p>
</li>
<li><p>Megawidgets no longer inherit from LabeledWidget. Instead they
call createlabel() to optionally create the label component.</p>
</li>
<li><p>Removed child site from EntryField and rewrote ComboBox
accordingly.</p>
</li>
<li><p>Wrote lots more documentation, including automatically generated
reference manuals.</p>
</li>
<li><p>Removed PushButton and rewrote ButtonBox to directly create
Tkinter.Buttons rather than PushButtons.</p>
</li>
<li><p>Added initialisation options - options which can be set at
creation time but not later using configure().</p>
</li>
<li><p>Added aliases for components.</p>
</li>
<li><p>Modified the base classes so that during option configuration,
components are configured <em>before</em> configuration called functions
are called.</p>
</li>
<li><p>Added several more megawidgets.</p>
</li>
<li><p>Added interface to BLT graph and vector commands.</p>
</li>
<li><p>Created PmwLazy module for lazy importing of Pmw - avoids loading
megawidgets which are not used.</p>
</li>
<li><p>Added several more functions for handling color and fonts.</p>
</li>
<li><p>Replaced Counter and EntryField <em>time</em> with <em>timeN</em> and <em>time24</em></p>
</li>
<li><p>Pmw.initialise() will now create Tkinter.Tk if not given root.</p>
</li></ul>
<p> 1 September 1997</p>
<ul><li><p>Release of version 0.4</p>
</li></ul>
<p> 5 September 1997</p>
<ul><li><p>Modified the base classes so that the Tk option database resource
class of megawidgets can be overridden in the call to the
constructor using the <strong>hull_class</strong> option.</p>
</li>
<li><p>The separators in Pmw.PanedWidget are now active - they can be
grabbed, like the handles, and moved around. The cursor now
changes to the correct left/right or up/down cursor when over a
separator or handle. (Clemens Hintze)</p>
</li>
<li><p>Fixed bug in MessageInfo demo Dismiss button. If it is invoked,
an error occurs saying "not enough arguments". (Mark Colclough)</p>
</li></ul>
<p> 9 September 1997</p>
<ul><li><p>Added the <strong>useTkOptionDb</strong> argument to Pmw.initialise which
specifies that the initial values of megawidget options are to be
set by querying the Tk option database.</p>
</li>
<li><p>When used to query options, the configure() method now returns the
resource class and name of the options.</p>
</li></ul>
<p> 19 September 1997</p>
<ul><li><p>Changed functions datestringtoint() and timestringtoint() to
datestringtojdn() and timestringtoseconds(). Changed return value
of datestringtojdn() to be Julian Day Numbers rather than seconds
since the epoch.</p>
</li>
<li><p>Fixed a bug in the date Counter due to use of time.timezone, by
replacing, when calculating date increments, calls to the time
module with calls to datestringtojdn().</p>
</li>
<li><p>Added century pivot year (setyearpivot function) to Counter date
datatypes to handle two-digit years.</p>
</li>
<li><p>Added date_dmy4, date_mdy4 and date_y4md datatypes to Counter.</p>
</li>
<li><p>Modified demos All.py and ScrolledText.py so that demos can be called
from directories other than the demos directory. (Case Roole and
Guido van Rossum)</p>
</li>
<li><p>Changed the default for the Pmw.Balloon <em>label_justify</em> option to
<em>left</em> to improve appearance of multi-line balloons. Pmw.Balloon
now replaces newlines with spaces in the statusHelp string so that
the strings look better when displayed in a Pmw.MessageBar.
(Andreas Kostyrka)</p>
</li>
<li><p>Pmw.Blt now calls <em>package require BLT</em> when checking for the
existence of Blt, so that it can be loaded if it is not statically
linked. (Clemens Hintze, Matthias Klose)</p>
</li>
<li><p>Copied earthris.gif and flagup.bmp files from Tcl distribution to
test directory, just in case they have not been installed.
(Jonathan Kelly)</p>
</li>
<li><p>Lots of improvements to the documentation and documenting recent
changes.</p>
</li></ul>
<p> 16 October 1997</p>
<ul><li><p>Modified Pmw.Balloon and Pmw.ComboBox to work around a bug in the
Windows95 version of Tk which caused the popup windows to appear
in the wrong place. (Fredrik Lundh and Jerome Gay)</p>
</li>
<li><p>Added Pmw.maxfontwidth() function. (Rob Pearson)</p>
</li></ul>
<p> 24 October 1997</p>
<ul><li><p>Changed PmwBase._reporterror to handle the class exceptions of
python 1.5. (Case Roole)</p>
</li></ul>
<p> 29 October 1997</p>
<ul><li><p>Fixed a bug in forwardmethods() function which occurred if the
<em>toClass</em> class had a method called <strong>type</strong>.</p>
</li></ul>
<p> 7 November 1997</p>
<ul><li><p>Changed tests/Test._getErrorValue to handle the class exceptions of
python 1.5. (Michael McLay)</p>
</li>
<li><p>Changed bug fix in forwardmethods() function to use the
<code>exec execString in d</code> construct. (Guido van Rossum)</p>
</li>
<li><p>Can now use Pmw.MegaArchetype as a base class just to get option
handling; it will not create the hull component unless requested.
Moved __str__() and interior() methods from Pmw.MegaToplevel and
Pmw.MegaWidget to Pmw.MegaArchetype class.</p>
</li></ul>
<p> 10 November 1997</p>
<ul><li><p>Added <em>textclass</em> option to Pmw.ScrolledText and <em>listboxclass</em>
option for Pmw.ScrolledListBox to allow embedding of custom
widgets.</p>
</li>
<li><p>Added Mitch Chapman's <strong>FontText</strong> module to the <code>demos</code> directory
and used it to display the demo source code in color.</p>
</li>
<li><p>Added two notebook megawwidgets, Pmw.NoteBookR and Pmw.NoteBookS.
(Case Roole and Joe Saltiel)</p>
</li>
<li><p>Added Pmw.ScrolledCanvas megawidget. (Joe Saltiel)</p>
</li>
<li><p>Added Pmw.TreeBrowse megawidget. (Michael McLay)</p>
</li>
<li><p>Added Pmw.Group megawidget and modified to use <code>grid()</code> instead
of <code>pack()</code>. (Case Roole)</p>
</li>
<li><p>Release of version 0.5</p>
</li></ul>
<p> 12 November 1997</p>
<ul><li><p>Added <em>pyclass</em> option to components and removed <em>textclass</em>
option from Pmw.ScrolledText and <em>listboxclass</em> option from
Pmw.ScrolledListBox. (Suggested by Shen Wang)</p>
</li>
<li><p>Added label component to Pmw.ButtonBox megawidget.</p>
</li>
<li><p>Fixed mis-spelling of PmwTreeBrowse in Pmw.py.</p>
</li>
<li><p>Release of version 0.5.1</p>
</li></ul>
<p> 5 December 1997</p>
<ul><li><p>The pyclass option can now be None. If so, createcomponent
returns None.</p>
</li>
<li><p>Removed tagtype option from Pmw.Group. Can now use the more
general tag_pyclass instead.</p>
</li>
<li><p>Added tcl call to <code>load {} Blt</code> when testing for presence of Blt.</p>
</li>
<li><p>Added julian and papal options to Pmw.ymdtojulian and
Pmw.juliantoymd functions and made sure divisions give the same
result as C even when operands are negative.</p>
</li>
<li><p>Exported ymdtojulian and juliantoymd functions.</p>
</li>
<li><p>Fixed bug in activate method. Did not prepend TclError with Tkinter.</p>
</li>
<li><p>When the Blt busy hold command is called from showbusycursor, the
bindtags on the busy window are set so that no events cause
callbacks to occur for the toplevel or all bindings. Also, while
a busy window is up, the focus is changed to the busy window so
that no keyboard events are accepted. This fixes a bug where the
Tkinter._nametowidget function could crash with a <code>KeyError: _Busy</code>
if there was a binding on a toplevel window and the mouse
was pressed while the busy cursor was up.</p>
</li></ul>
<p> 9 December 1997</p>
<ul><li><p>Fixed bug in Pmw.datestringtojdn() when dealing with century year,
such as 2000.</p>
</li></ul>
<p> 10 December 1997</p>
<ul><li><p>Added <em>where</em> option to <code>Pmw.ScrolledText.importfile()</code>. (Graham
Matthews)</p>
</li></ul>
<p> 16 December 1997</p>
<ul><li><p>Modified Pmw.RadioSelect and Pmw.ButtonBox so that you can no
longer index their buttons using regular expressions. This
feature seemed to have little use and caused problems with buttons
labeled for example <em>a*</em> and <em>b*</em>. (Problem reported by Rob
Hooft)</p>
</li>
<li><p>Added updateFunction option to Pmw.busycallback(). If set, the
function will be called just after the command given to
Pmw.busycallback(). If the function is set the Tkinter update()
method, then this will clear any events that may have occurred
while the command was executing.</p>
</li></ul>
<p> 30 December 1997</p>
<ul><li><p>Changed ymdtojulian and juliantoymd functions to jdntoymd and
ymdtojdn, because the meaning of "julian" is ambiguous, whereas
the meaning of "Julian Day Number" is not (maybe).</p>
</li>
<li><p>Converted Pmw to use python 1.5 package mechanism. (Michael McLay
and Case Roole)</p>
</li>
<li><p>Removed Pmw.py and PmwLazy files. Added __init__.py, PmwLoader.py
and Pmw.def files. (Case Roole)</p>
</li>
<li><p>Applications can now specify at runtime which version of Pmw to
use and also which alpha versions, if any. (Case Roole)</p>
</li>
<li><p>Modified Pmw code for the version of Tkinter released with python
1.5.</p>
</li>
<li><p>Release of version 0.6</p>
</li></ul>
<p> 5 January 1998</p>
<ul><li><p>Fixed alpha version handling so that alpha versions do not have to
supply PmwBase.py and PmwUtils.py. (Case Roole)</p>
</li>
<li><p>Added example alpha directory and documentation. (Case Roole)</p>
</li></ul>
<p> 7 January 1998</p>
<ul><li><p>Added selectmode option to Pmw.RadioSelect megawidget. (Roman
Sulzhyk)</p>
</li>
<li><p>Added some changes to Pmw.ScrolledCanvas to get around some bugs.
(Joe Saltiel)</p>
</li>
<li><p>Release of version 0.6.1</p>
</li></ul>
<p> 8 January 1998</p>
<ul><li><p>Added some more changes to Pmw.ScrolledCanvas. (from Joe Saltiel)</p>
</li></ul>
<p> 12 January 1998</p>
<ul><li><p>Added Pmw.OptionMenu megawidget. (Roman Sulzhyk)</p>
</li></ul>
<p> 20 February 1998</p>
<ul><li><p>Added new Pmw.MenuBar features to delete menus and menuitems,
enable and disable menu bar and to add cascade menus. (Rob Pearson)</p>
</li>
<li><p>Added extra arguments to Pmw.Color.spectrum for more control over
color choice.</p>
</li></ul>
<p> 23 February 1998</p>
<ul><li><p>Added canvasbind() method to Pmw.Balloon.</p>
</li>
<li><p>Fixed demos/All.py so that it will correctly determine which Pmw
version to use even if it is in a directory symlinked to the demos
directory.</p>
</li>
<li><p>Removed "import DemoVersion" from all demos, except All.py, so
that they will work unchanged when copied outside of the Pmw
distribution.</p>
</li>
<li><p>Release of version 0.6.2</p>
</li></ul>
<p> 26 February 1998</p>
<ul><li><p>Fixed PmwLoader so that it works on Macintoshes. (Jack Jansen)</p>
</li></ul>
<p> 2 March 1998</p>
<ul><li><p>Fixed PmwBase and PmwBlt so that an attempt is made to dynamically
load Blt before it is used. Previously only attempted to load Blt
when calling showbusycursor.</p>
</li></ul>
<p> 16 March 1998</p>
<ul><li><p>Added hulldestroyed() method.</p>
</li>
<li><p>Modified displayerror() function to use value given to
reporterrorstofile() if it is set.</p>
</li>
<li><p>Fixed bug in Pmw.EntryField which occurred when the <em>command</em>
option destroyed the megawidget.</p>
</li>
<li><p>Pmw.EntryField invoke method now passes on the value returned by
the <em>command</em> function.</p>
</li></ul>
<p> 3 April 1998</p>
<ul><li><p>Added Pmw.ScrolledFrame megawidget. (Joe Saltiel)</p>
</li>
<li><p>Color.rgb2hsi() now uses the built-in <code>min()</code> and <code>max()</code> functions.</p>
</li></ul>
<p> 20 April 1998</p>
<ul><li><p>Moved time and date functions from PmwCounter.py to new file,
PmwTimeFuncs.py.</p>
</li>
<li><p>Added optional <em>separator</em> argument to <code>timestringtoseconds</code> and
<code>datestringtojdn</code> functions. These functions are now stricter
when checking if a string is a valid date or time. For example,
it now checks for correct day in month, month in year, etc. These
changes also affect the Pmw.Counter date and time validators.</p>
</li>
<li><p>The <code>datestringtojdn</code> function now accepts all combinations of
<strong>'d'</strong>, <strong>'m'</strong>, <strong>'y'</strong> as format string.</p>
</li>
<li><p>Moved functions to bottom of file and class to top of file in
PmwEntryField.py and PmwCounter.py.</p>
</li>
<li><p>The validation for Pmw.EntryField <em>integer</em>, <em>hexadecimal</em> and
<em>real</em> types now use string.atol or string.atof rather than
regular expressions.</p>
</li>
<li><p>The validation for the Pmw.EntryField <em>real</em> type accepts a
<em>separator</em> argument, for those who prefer a comma instead of a
full stop/period/point as the decimal dividing symbol.</p>
</li>
<li><p>The Pmw.EntryField <em>time*</em> and <em>date_*</em> validators have been
removed. The functionality can be replaced by using the new
<em>time</em> and <em>date</em> validators with <em>min</em> and <em>max</em> fields.</p>
</li>
<li><p>The Pmw.EntryField <em>maxwidth</em> option has been removed. The
functionality can be replaced by using the <em>max</em> field of the
validator.</p>
</li>
<li><p>Added an <em>extravalidators</em> option to Pmw.EntryField. This allows
new types of validation to be added, particularly in classes
derived from Pmw.EntryField. It also allows the use of different
names for the same validation, by using aliases. Added
SpecialEntry demo to show <em>extravalidators</em> option, based on work
by Joachim Schmitz.</p>
</li>
<li><p>Fixed a bug in Pmw.EntryField when combining use of <em>value</em> and
<em>entry_textvariable</em> options.</p>
</li>
<li><p>The Pmw.EntryField <em>validate</em> option now also accepts a dictionary
to handle minimum and maximum validation and to allow the passing
of other arguments to the validating functions, such as date, time
and number formats and separators.</p>
</li>
<li><p>Fixed bug in Pmw.EntryField where the entry would scroll to the
start of the text if an invalid character was typed.</p>
</li>
<li><p>Added checkentry() method to Pmw.EntryField, so that it can be
updated if the entry widget is tied to a textvariable.</p>
</li></ul>
<p> 10 May 1998</p>
<ul><li><p>The activate() method now takes a geometry option to allow more
flexible positioning of the modal dialog.</p>
</li>
<li><p>Fixed rarely occurring bug in deactivate() method if it is called
(perhaps from a timer) during the call to wait_visibility() in the
activate() method. This bug used to generate an error and the
application would not exit properly.</p>
</li>
<li><p>Fixed another rarely occurring bug in deactivate() method if it is
called while another application has the grab.</p>
</li>
<li><p>Removed "sys.exc_traceback = None" for except clauses which used
to be required by python 1.4 so that references to objects in the
stack trace would not be left.</p>
</li>
<li><p>Now uses sys.exc_info() function when displaying exception
traceback.</p>
</li>
<li><p>The <strong>state</strong> option of Pmw.Balloon and the <strong>orient</strong> option of
several others now generate an exception if they have a bad value.</p>
</li>
<li><p>Added a deactivatecommand option to Pmw.MegaToplevel which can be
used, for example, to cancel timers.</p>
</li>
<li><p>Made changes to Pmw.Counter so that the entry display continuously
changes when arrow key presses are repeated quickly.</p>
</li>
<li><p>Made changes to Pmw.Counter so that the insertion cursor is maintained
while counting and the entry scrolls to the end if the value is long.</p>
</li>
<li><p>Pmw.Counter now behaves correctly when counting past the maximum
and minimum values of the EntryField.</p>
</li></ul>
<p> 28 May 1998</p>
<ul><li><p>Made all Pmw.EntryField standard validators publicly available
as <code>Pmw.numericvalidator</code>, etc.</p>
</li>
<li><p>Now uses faster <code>string.replace()</code> instead of <code>regsub.gsub()</code> when
applicable.</p>
</li>
<li><p>If the <em>balloonHelp</em> argument of the Pmw.Balloon bind methods is
<strong>None</strong>, no balloon is displayed.</p>
</li>
<li><p>Merged the code from the PmwUtils module (forwardmethods()) into
PmwBase, since it was always used, was used nowhere else, and made
freezing a little more complicated.</p>
</li>
<li><p>Added a short delay between calling Tkinter bell() method (sounds nicer).</p>
</li>
<li><p>The functions <code>datestringtojdn()</code> and <code>timestringtoseconds()</code> now
return ValueError on invalid input.</p>
</li>
<li><p>Created bundlepmw.py, to help when freezing in Pmw. Placed in bin
directory.</p>
</li></ul>
<p> 29 May 1998</p>
<ul><li><p>Fixed rare bug in Pmw.Counter which occured if the counter was
unmapped while the mouse button was held down over an arrow button.</p>
</li>
<li><p>Created contrib directory and placed PmwVerticalGuage.py in it.
(Chris Wright)</p>
</li>
<li><p>Patched PmwNoteBookR.py. (Siggy Brentrup)</p>
</li>
<li><p>Added addoptions() method to Pmw.MegaArchetype class. (Dieter Maurer)</p>
</li>
<li><p>By default, MenuBar creates hotkeys for menus and menu items for
keyboard traversal. Added traversSpec argument to MenuBar add
methods. (Michael McLay)</p>
</li></ul>
<p> 31 May 1998</p>
<ul><li><p>Cleaned up bbox() methods in Pmw.ScrolledCanvas and
Pmw.ScrolledListBox.</p>
</li>
<li><p>The createcomponent() method now disallows the creation of
component names containing an underscore, since the query
functions would not be able to find them.</p>
</li></ul>
<p> 2 June 1998</p>
<ul><li><p>Release of version 0.7</p>
</li></ul>
<p> 3 June 1998</p>
<ul><li><p>Moved Pmw.TreeBrowse megawidget to contrib directory.</p>
</li></ul>
<p> 17 June 1998</p>
<ul><li><p>Added PmwFullTimeCounter.py to contrib directory (Daniel Michelson)</p>
</li></ul>
<p> 1 July 1998</p>
<ul><li><p>Changed mispelt file PmwVerticalGuage.py to PmwVerticalGauge.py
in contrib directory.</p>
</li></ul>
<p> 7 July 1998</p>
<ul><li><p>Fixed bug in Pmw.Counter real datatype. Sometimes incorrectly
counted negative decimal fractions. (Reported by David Ascher)</p>
</li></ul>
<p> 12 July 1998</p>
<ul><li><p>The <em>format</em> argument of Pmw.datestringtojdn() now defaults to
<strong>'ymd'</strong>.</p>
</li>
<li><p>Removed Tkinter_test.py from tests since it does not test any Pmw
functionality (only Tkinter) and it fails under MS-Windows 95.</p>
</li></ul>
<p> 23 August 1998</p>
<ul><li><p>Changed several exception types to be more consistent.</p>
</li>
<li><p>Made the interface to Pmw.Blt.Vector more like the builtin python
list type.</p>
</li>
<li><p>It is no longer an error to call Pmw.setversion() or
Pmw.setalphaversions() after initialisation, as long as the
requested version matches the actual version.</p>
</li>
<li><p>Fixed Pmw.NoteBookR so that it behaves better when the
highlightthickness is changed.</p>
</li>
<li><p>The setyearpivot() function now returns a tuple containing the old
values of <em>pivot</em> and <em>century</em>.</p>
</li>
<li><p>Added PmwFileDialog.py to contrib directory (Rob Hooft)</p>
</li>
<li><p>Modified demos so that full tracebacks are displayed if an error
occurs when importing a module.</p>
</li>
<li><p>Removed justify() method from Pmw.ScrolledListBox, since it is
just a wrapper around the xview and yview methods of the listbox.
Also, it was not a permanent justification, as the name implied.</p>
</li></ul>
<p> 20 September 1998</p>
<ul><li><p>Changed implementation of Pmw.ScrolledCanvas.</p>
</li>
<li><p>Added <strong>borderframe</strong> option to Pmw.ScrolledText and Pmw.ScrolledCanvas.</p>
</li></ul>
<p> 18 October 1998</p>
<ul><li><p>Major overhaul of all scrolled widgets. Modified all to use
similar structure, given the peculiarities of each. Fixed several
subtle bugs.</p>
</li>
<li><p>Pmw.ScrolledFrame: now uses a frame positioned within a clipping
frame using the place geometry manager. Added borderframe,
horizflex, horizfraction, usehullsize, vertflex, vertfraction
options. Added reposition() method. Removed getFrame() method;
use interior() method instead.</p>
</li>
<li><p>Pmw.ScrolledListBox: added usehullsize option.</p>
</li>
<li><p>Pmw.ScrolledText: added borderframe and usehullsize options.</p>
</li>
<li><p>Pmw.ScrolledCanvas: simplified widget structure. Added
borderframe, canvasmargin, scrollmargin and usehullsize options.
Added label.</p>
</li>
<li><p>Modified Pmw.OptionMenu to use standard widgets rather than call
tcl procedure. Added <strong>initialitem</strong> option. Now handles
<strong>menubutton_textvariable</strong> component option correctly.</p>
</li></ul>
<p> 1 November 1998</p>
<ul><li><p>Documented more Pmw functions and Pmw.ComboBox.</p>
</li></ul>
<p> 15 November 1998</p>
<ul><li><p>Fixed some bugs, cleaned up code and wrote documentation for
Pmw.Group. Removed <strong>ringpadx</strong> and <strong>ringpady</strong> options, since this
functionality is more generally available by padding the
megawidget itself and by padding the children of the megawidget.
Modified Pmw.aligngrouptags so that it takes into account the
borderwidth and highlightthickness of the ring and so that it
works when there is no tag widget. Added <strong>tagindent</strong> option.</p>
</li></ul>
<p> 18 November 1998</p>
<ul><li><p>Renamed canvasbind() and canvasunbind() methods of Pmw.Balloon to
tagbind() and tagunbind() and modified so that they work with both
Tkinter.Canvas items and Tkinter.Text tagged items.</p>
</li></ul>
<p> 19 November 1998</p>
<ul><li><p>Added havebltbusy() method to Pmw.Blt. (Robin Becker)</p>
</li></ul>
<p> 21 November 1998</p>
<ul><li><p>Modified contrib/PmwFileDialog.py so that when a file is selected
with the mouse, the highlight (in the file list) persists and the
file list does not scroll to the top. (Rob Hooft)</p>
</li>
<li><p>Modified Pmw.Balloon so that it can be bound to a tag associated
with several Canvas or Text items. (Magnus Kessler)</p>
</li></ul>
<p> 21 November 1998</p>
<ul><li><p>Cleaned up appearance and colors of Pmw.NoteBookR tabs. (Georg
Mischler)</p>
</li>
<li><p>Added <strong>buttontype</strong> option to Pmw.RadioSelect to support
radiobuttons and checkbuttons. (Georg Mischler)</p>
</li></ul>
<p> 23 November 1998</p>
<ul><li><p>Updated usage of <code>bind_class(tag)</code> due to change in return value
in Tkinter module in python 1.5.2. (Magnus Kessler, Fredrik Lundh)</p>
</li>
<li><p>The default time displayed in Pmw.TimeCounter is now the current
local time, not GMT as before.</p>
</li>
<li><p>The times displayed in the Counter demonstration are now the
current local time, not GMT as before.</p>
</li></ul>
<p> 7 December 1998</p>
<ul><li><p>Modified Pmw.ComboBox to take advantage of the fix to the Tkinter
<code>bind()</code> method callback handling of <code>Event.widget</code> in python
1.5.2. It works even if the <strong>selectioncommand</strong> destroys the
combobox. For simple comboboxes, the invoke() method now returns
the return value of the <strong>selectioncommand</strong>.</p>
</li>
<li><p>Modified Pmw.EntryField to take advantage of the fix to the
Tkinter <code>bind()</code> method callback handling of <code>Event.widget</code> in
python 1.5.2. It works even if a user-supplied callback
(<strong>command</strong>, <strong>invalidcommand</strong>, <strong>validator</strong> or <strong>stringtovalue</strong>)
destroys the entryfield. Cleans up correctly when destroyed. The
invoke() method now returns the return value of the <strong>command</strong>.</p>
</li>
<li><p>The invoke() method of Pmw.TimeCounter now returns the return
value of the <strong>command</strong>.</p>
</li>
<li><p>Modified Pmw.ButtonBox to use the new (in Tk8.0) <strong>default</strong> option
of the Tkinter <strong>Button</strong> widget instead of a separate frame.
Changed default padding to be more compact. Removed "ring" frame
component and "ringborderwidth", "ringpadx" and "ringpady"
options. (Georg Mischler)</p>
</li>
<li><p>Changed <strong>'pmw1'</strong> fontScheme to set default fonts only when running
under posix, since the default fonts on other systems look better.</p>
</li></ul>
<p> 10 December 1998</p>
<ul><li><p>Release of version 0.8</p>
</li></ul>
<p> 20 January 1999</p>
<ul><li><p>Added <strong>master</strong> option to Pmw.MegaToplevel and removed <strong>master</strong>
argument from the activate method.</p>
</li>
<li><p>Replaced rand module in demos with a simple random number
generator (since rand is not built-in on all versions of python).</p>
</li></ul>
<p> 22 February 1999</p>
<ul><li><p>Modified <code>__init__.py</code> so that it only accepts directories whose
names begin with <strong>Pmw_M_N</strong> and which have a /lib/PmwLoader.py/
file.</p>
</li></ul>
<p> 13 May 1999</p>
<ul><li><p>Changed Pmw.ScrolledCanvas, Pmw.ScrolledText and Pmw.ScrolledListBox
to speed up scrolling if the scrollmodes are not both dynamic.</p>
</li>
<li><p>Changed busy cursor and activate/deactivate code so that it works
correctly under fast mouse clicking or fast keyboarding (using
accelerators). Also fixed so that grab is correctly restored
after a Pmw.ComboBox popup list is unmapped inside a modal dialog.
(Clemens Hintze)</p>
</li>
<li><p>Several dialogs now give focus to one of their components (listbox
or entry widget) when activated. (Clemens Hintze)</p>
</li>
<li><p>Fixed Pmw.ComboBox so that it unposts popup if the combobox is
unmapped and returns grab and focus correctly if destroyed.</p>
</li>
<li><p>Improved tracetk() output to be more readable. Also displays
nested calls to the Tk mainloop better and shows callbacks from
tcl to python.</p>
</li>
<li><p>Upgraded Blt support to blt2.4i. Graph widget is not backwards
compatible with blt2.1.</p>
</li></ul>
<p> 19 May 1999</p>
<ul><li><p>Fixed bug in Pmw.Balloon in placement of balloons over canvas
items when the canvas was scrolled. (Tessa Lau)</p>
</li></ul>
<p> 20 May 1999</p>
<ul><li><p>Added new Tk event types (new in Tk 8.0 and 8.0.5) to PmwBase
error display method. Also added check for unknown event types to
safeguard against future changes. (Magnus Kessler)</p>
</li>
<li><p>Added <strong>exclude</strong> argument to <code>showbusycursor()</code>. (Rob Hooft)</p>
</li></ul>
<p> 1 June 1999</p>
<ul><li><p>Added wrappers for Blt Stripchart and Tabset widgets. (Nick Belshaw)</p>
</li>
<li><p>Changed createcomponent() so that arguments to the constructor of
the component can now be specified as either multiple trailing
arguments to createcomponent() or as a single tuple argument.</p>
</li></ul>
<p> 7 June 1999</p>
<ul><li><p>Added call to update_idletasks() in Pmw.ScrolledCanvas,
Pmw.ScrolledFrame, Pmw.ScrolledText and Pmw.ScrolledListBox to
avoid endless mapping/unmapping of two dynamic scrollbars when the
window is first mapped and only one scrollbar is needed.
(Reported by Mark C Favas, solution suggested by Dieter Maurer.)</p>
</li></ul>
<p> 10 June 1999</p>
<ul><li><p>Fixed bug in bundlepmw.py when called with -noblt option.
(Reported by Kevin O'Connor)</p>
</li>
<li><p>Pmw.ComboBox now unposts the dropdown listbox before the selection
callback is invoked, to avoid problems when the callback takes a
long time to run. (Reported by Randall Hopper)</p>
</li></ul>
<p> 11 June 1999</p>
<ul><li><p>Release of version 0.8.1</p>
</li></ul>
<p> 29 June 1999</p>
<ul><li><p>PmwMessageBar.message() now replaces newlines with spaces before
displaying message. Also applies to helpmessage().</p>
</li></ul>
<p> 2 July 1999</p>
<ul><li><p>Improved toplevel window positioning under NT, and stopped most of
the ugly flashing.</p>
</li></ul>
<p> 5 July 1999</p>
<ul><li><p>The <strong>pmw1</strong> fontScheme is now supported under NT, as is the <em>size</em>
option to <code>Pmw.initialise()</code>.</p>
</li></ul>
<p> 6 July 1999</p>
<ul><li><p>Changed the names of positional arguments in the following
methods, so that they have less chance of conflicting with keyword
arguments: MegaArchetype.createcomponent(), ButtonBox.insert(),
ButtonBox.add(), MenuBar.addcascademenu(), MenuBar.addmenuitem()
and RadioSelect.add().</p>
</li></ul>
<p> 9 July 1999</p>
<ul><li><p>Added images and example code to the megawidget reference manuals.
(Suggested by Joerg Henrichs)</p>
</li>
<li><p>Fixed showbusycursor() under NT. It now calls update() instead of
update_idletasks() to force display of cursor. (Solution
suggested by George Howlett)</p>
</li>
<li><p>Improved display of arrows in ComboBox, Counter and TimeCounter.</p>
</li></ul>
<p> 16 July 1999</p>
<ul><li><p>Removed Pmw.maxfontwidth() function, since better functionality is
now supplied by the Tk "font measure" command.</p>
</li>
<li><p>Removed Pmw.fontexists() function, since in Tk8.0 all fonts exist.</p>
</li></ul>
<p> 28 July 1999</p>
<ul><li><p>Fixed bug in date counter with separator other than <strong>'/'</strong> and time
counter with separator other than <strong>':'</strong>. (David M. Cooke, Alan
Robinson)</p>
</li>
<li><p>Under NT, the font named <strong>'fixed'</strong> is not fixed width, so added
alias from <strong>'Fixed'</strong> to <strong>'Courier'</strong>.</p>
</li>
<li><p>Changed the <code>bind()</code> and <code>tagbind()</code> methods of Pmw.Balloon to
remove a potential memory leak. The methods now store the
<em>funcids</em> of the callback functions, so that if the same widget or
tag is bound twice, the balloon can remove the old bindings.
(Peter Stoehr)</p>
</li>
<li><p>Changed NoteBookR so that lowercmd, creatcmd and raisecmd are
called in that order when a page is selected. Also fixed bug
which always raised page 0 when notebook is resized. (Scott
Evans, Charles Choi)</p>
</li></ul>
<p> 1 August 1999</p>
<ul><li><p>Added <strong>dynamicGroups</strong> argument to <code>defineoptions()</code> method and
modified ButtonBox, MenuBar, PanedWidget, RadioSelect to register
their dynamic groups.</p>
</li>
<li><p><code>Pmw.initialise()</code> can now be called multiple times, with
different <em>root</em> arguments, but only sequentially. Pmw does not
(yet) support multiple simultaneous interpreters. Modified
Pmw.EntryField so that it recreates class bindings when
Tkinter.root changes.</p>
</li></ul>
<p> 4 August 1999</p>
<ul><li><p>Added relmouse option to Pmw.Balloon. Fixed Pmw.Balloon so that
the balloon is not displayed off-screen. (Tessa Lau)</p>
</li></ul>
<p> 16 August 1999</p>
<ul><li><p>Added disableKeyboardWhileBusy option to initialise(). To ignore
keyboard input while displaying the busy cursor, Pmw sets the
focus for each toplevel window to the Blt busy window. However,
under NT, this causes each window to be raised. If this is not
acceptable, programs running on NT can request show/hidebusycursor
not to ignore keyboard input. </p>
</li></ul>
<p> 25 August 1999</p>
<ul><li><p>Added Pmw.Blt.busy_forget() and used it in Pmw.hidebusycursor()
when running under NT. There is a bug in the Blt busy release
command under NT where it sometimes fails to display the busy
cursor. Using busy forget avoids the problem.</p>
</li></ul>
<p> 27 September 1999</p>
<ul><li><p>Added busyCursorName option to Pmw.initialise() and added cursor
argument to Pmw.Blt.busy_hold(). (Mark Favas)</p>
</li></ul>
<p> 20 October 1999</p>
<ul><li><p>Replaced Pmw.NoteBookR and Pmw.NoteBookS with completely rewritten
Pmw.NoteBook.</p>
</li>
<li><p>Renamed Pmw.OptionMenu.get() to Pmw.OptionMenu.getcurselection()
and Pmw.PanedWidget.remove() to Pmw.PanedWidget.delete(), to be
more consistent with other megawidgets.</p>
</li>
<li><p>The index() method of several megawidgets now use Pmw.END,
Pmw.SELECT and Pmw.DEFAULT instead of strings, since these may
conflict with component names. </p>
</li>
<li><p>Pmw.OptionMenu.index() now uses Pmw.SELECT to return
index of the currently selected menu item, rather than None.</p>
</li>
<li><p>Added destroy() method to Pmw.MegaArchetype to handle cleaning up
of _hullToMegaWidget mapping. </p>
</li>
<li><p>Removed exclude argument from Pmw.showbusycursor() and added
Pmw.excludefrombusycursor() function instead. (Rob Hooft)</p>
</li>
<li><p>Fixed several bugs for Windows NT.</p>
</li>
<li><p>Added Pmw.ButtonBox.button() and Pmw.RadioSelect.button().</p>
</li>
<li><p>Added Pmw.Color.bordercolors().</p>
</li></ul>
<p> 21 October 1999</p>
<ul><li><p>Release of version 0.8.3. (Version 0.8.2 was not released.)</p>
</li></ul>
<p> 30 October 1999</p>
<ul><li><p>Added arrownavigation option and previouspage() and nextpage()
methods to Pmw.NoteBook. (Peter Funk)</p>
</li>
<li><p>Renamed the <code>setnaturalpagesize()</code> method of Pmw.NoteBook to
<code>setnaturalsize()</code> to be consistent with Pmw.PanedWidget.</p>
</li>
<li><p>Changed Pmw.excludefrombusycursor() to Pmw.setbusycursorattributes().
Removed busyCursorName option from Pmw.initialise() and added
cursorName attribute to Pmw.setbusycursorattributes().</p>
</li>
<li><p>Added documentation source and build scripts to ftp site.</p>
</li></ul>
<p> 6 November 1999</p>
<ul><li><p>Fixed memory leaks when destroying megawidgets. Added automatic
check for memory leak to test script used by all tests.
Pmw.initialise() now uses a hook into Tkinter.Widget.destroy
rather than Tkinter.Frame.destroy to handle the case of
Pmw.NoteBook being destroyed (since the notebook hull is a canvas
and not a frame). Window manager delete protocol callbacks are
now cleaned up. Pmw.ScrolledListBox event bindings now do not
leak. (Reported by Jeff Weeks)</p>
</li>
<li><p>Removed key bindings for Pmw.ScrolledListBox except space and return keys.</p>
</li></ul>
<p> 20 November 1999</p>
<ul><li><p>Fixed bug in Pmw.Balloon when the canvas or text item that
triggered the balloon is deleted before the balloon is displayed
by the <strong>initwait</strong> timer. (Magnus Kessler)</p>
</li>
<li><p>Added <strong>'nograb'</strong> to <em>globalMode</em> option of <code>activate()</code> method. (Rob Hooft)</p>
</li>
<li><p>Added __setitem__ method to Pmw.MegaArchetype, so that megawidget
options can be now set using <code>megawidget['option'] = value</code> style.
(Oliver Gathmann)</p>
</li></ul>
<p> 27 December 1999</p>
<ul><li><p>Converted from <code>regex</code> module to <code>re</code> module, since <code>regex</code> is not
implemented for Jpython. (Finn Bock)</p>
</li></ul>
<p> 30 December 1999</p>
<ul><li><p>Added <code>clear()</code> method to Pmw.ScrolledListBox (suggested by Carson
Fenimore).</p>
</li></ul>
<p> 15 March 2000</p>
<ul><li><p>Fixed problem in PmwBase when deleting windows that were created
before Pmw was initialised (such as splash windows displayed while
the application is coming up). (Mark Favas)</p>
</li>
<li><p>Added splash window to Pmw demo. (Mark Favas)</p>
</li></ul>
<p> 30 April 2000</p>
<ul><li><p>Added Pmw.MainMenuBar megawidget, which uses the menubar feature
of Tk to provide platform specific menu bars.</p>
</li>
<li><p>Fixed Pmw.Counter and several other megawidgets so that certain
<strong>hull</strong> constructor keywords, such as <strong>hull_relief</strong> and
<strong>hull_borderwidth</strong>, are not overriden in the constructor.</p>
</li>
<li><p>Thanks to Peter Cashin for his help on how to unpack gzipped tar
files on Microsoft Windows operating systems.</p>
</li>
<li><p>Added Pmw.HistoryText megawidget. This can be used as the basis
of an interactive text-based database query gui. It maintains a
history of each query and allows editing of prior queries.</p>
</li>
<li><p>Added references to the Pmw.Blt.Graph documentation by Bjrn Ove
Thue and Hans Petter Langtangen.</p>
</li>
<li><p>Searched for and fixed memory leaks. There are no more known memory leaks.</p>
<ul><li><p>For commands created by <code>bind</code>: these are cleaned up by Tkinter
when the widget is destroyed. Pmw.Balloon, which repeatedly
binds to the same widget (or item, using <code>tag_bind</code>), has been
fixed by passing the old command into the call to <code>unbind</code> or
<code>tag_unbind</code> which is cleaned up by Tkinter.</p>
</li>
<li><p>For commands created by <code>class_bind</code>: most class bindings are
only created once (per Tk interpreter) and so do not need to be
cleaned up. The exception is adding and deleting menus in
Pmw.MenuBar. This has now been fixed to clean up <code>class_bind</code>
commands when deleting menus.</p>
</li>
<li><p>Callbacks given to command, xscrollcommand, yscrollcommand, etc
options are cleaned up by Tkinter when the widget is destroyed.
Cases where Pmw repeatedly sets such options have now been fixed
to clean up the old command before configuring the new one.
These are in <code>setitems</code> in Pmw.OptionMenu and when modifying the
scrollcommand options in several of the scrolled widgets.</p>
</li>
<li><p>Pmw now cleans up calbacks it registers with the
WM_DELETE_WINDOW protocol for toplevel windows.</p>
</li></ul>
</li>
<li><p>Added ManualTests.py to tests directory for tests which need to be
run by hand.</p>
</li></ul>
<p> 12 May 2000</p>
<ul><li><p>Release of version 0.8.4.</p>
</li></ul>
<p> 17 May 2000</p>
<ul><li><p>Modified Pmw.Counter to deal with the presence (python up to
1.5.2) or absence (python 1.6 and after) of an <strong>L</strong> at the end of
the ascii representation of a long. (Mark Favas)</p>
</li>
<li><p>Fixed bug in Pmw.ScrolledFrame when given invalid flex options.
(Stephen D Evans)</p>
</li></ul>
<p> 23 January 2001</p>
<ul><li><p>Moved Pmw home from www.dscpl.com.au to pmw.sourceforge.net.</p>
</li>
<li><p>Added pmw2 font scheme, since the font used for balloon text with
pmw1 is too small on Linux.</p>
</li>
<li><p>Removed syntax coloring from code window in demos. It did not
look good and the pattern matching was not always correct.</p>
</li>
<li><p>Changed font size used for demos to 12 for Unix, since 14 looked
too big under Linux.</p>
</li>
<li><p>Minor fixes to tests for Tk 8.3.</p>
</li></ul>
<p> 8 February 2001</p>
<ul><li><p>Release of version 0.8.5</p>
</li></ul>
<p> 18 February 2001</p>
<ul><li><p>Added xview() and yview() methods to Pmw.ScrolledFrame (suggested
by Christer Fernstrom).</p>
</li>
<li><p>Made tktrace output more readable.</p>
</li>
<li><p>Added noBltBusy option to Pmw.initialise.</p>
</li>
<li><p>Fixed bug where combobox dropdown list could stay mapped after
entryfield was unmapped.</p>
</li>
<li><p>Improved scrolling in scrolled frame.</p>
</li></ul>
<p> 21 February 2001</p>
<ul><li><p>Fixed tests for recent version of Blt graph (reported by
Venkatesh Prasad Ranganath).</p>
</li>
<li><p>Fixed problem in Pmw.ScrolledFrame in python 1.5 - string.atof
does not accept a number as argument, but it does in python 2.0.</p>
</li></ul>
<p> 24 February 2001</p>
<ul><li><p>Modified Pmw.OptionMenu documentation to specify that list
elements must be strings (problem reported by Guy Middleton).</p>
</li>
<li><p>Fixed bug in Pmw.OptionMenu where the wrong item was displayed
when an integer item in the menu was selected with the mouse (even
though items should be strings).</p>
</li>
<li><p>Added work around to Pmw.ScrolledFrame for bug in Tk when
retrieving value from scrollbars soon after creation.</p>
</li></ul>
<p> 27 February 2001</p>
<ul><li><p>Added HistoryText and MainMenuBar to bin/bundlepmw.py - accidently
left out.</p>
</li></ul>
<p> 13 April 2001</p>
<ul><li><p>Changed default foreground (text) of Pmw.Balloown to black. (Eric
Pettersen)</p>
</li>
<li><p>Added default fontScheme to Pmw.initialise().</p>
</li>
<li><p>Added -fontscheme and -fontsize options to demo.</p>
</li>
<li><p>Added updatelayout() to Pmw.PanedWidget for use when dynamically
adding and deleting panes. (G Cash)</p>
</li>
<li><p>Added move() to Pmw.PanedWidget to move panes. (G Cash)</p>
</li></ul>
<p> 20 April 2001</p>
<ul><li><p>Fixed bug in Pmw.Balloon where the balloon would reappear if the
mouse button was pressed down inside a widget and then, while the
mouse button was being held down, the mouse was moved outside of
the widget and then moved back over the widget.</p>
</li>
<li><p>Fixed bug in Pmw.Balloon when destroying widgets while the balloon
was up. In this case, the balloon remained displayed even though
the widget had been destroyed. (Reported by Stefan Schone.)</p>
</li>
<li><p>Fixed bug in Pmw.Balloon when destroying widgets during the
initwait period. In this case, an error occurred when the
initwait timer went off when it tried to access the destroyed
widget. (Reported by Stefan Schone.)</p>
</li>
<li><p>Fixed Pmw.Balloon so that unbinding withdraws the balloon if
the widget being unbound is the widget which triggered the balloon.</p>
</li>
<li><p>Modified Pmw.Balloon so that when deleting a canvas or text item,
<code>tagunbind()</code> can be called which will withdraw the balloon if it
was triggered by the item. Unfortunately this can not be
automated as for widgets since Tk does not support <Destroy>
bindings on canvas or text items, so there is no way that
Pmw.Balloon can be notified of the deletion of an item.</p>
</li>
<li><p>Updated tests for python 2.1.</p>
</li></ul>
<p> 21 May 2001</p>
<ul><li><p>Pmw.OptionMenu now defaults to taking focus (on <Tab> key).</p>
</li></ul>
<p> 15 May 2002</p>
<ul><li><p>Fixed bug in Pmw.Graph.element_closest() where element names
should follow option arguments. (Val Shkolnikov)</p>
</li></ul>
<p> 5 June 2002</p>
<ul><li><p>Added command option to Pmw.TimeCounter.</p>
</li>
<li><p>Finished all documentation.</p>
</li>
<li><p>Fixed bug in documentation creation script which, since python
2.0, printed default values of real options (such as the
horizfraction option of Pmw.ScrolledFrame) with too many digits
(such as 0.050000000000000003).</p>
</li>
<li><p>Fixed bug in setgeometryanddeiconify for cygwin python (John
Williams).</p>
</li></ul>
<p> 4 July 2002</p>
<ul><li><p>Added master option to <code>MegaToplevel.show()</code></p>
</li>
<li><p>Improved <code>MegaToplevel.show()</code> so that tkraise is not called
unecessarily, thus avoiding 2 second delay under certain window
managers (such as sawfish) in most circumstances. There are still
problems with the Enlightenment window manager.</p>
</li></ul>
<p> 18 August 2002</p>
<ul><li><p>Added columnheader, rowheader and rowcolumnheader components to
Pmw.ScrolledText. (Rob Pearson)</p>
</li>
<li><p>Added <code>getvalue()</code> and <code>setvalue()</code> methods to several megawidgets
as a consistent way to set and get the user-modifiable state.
(Cimarron Taylor)</p>
</li>
<li><p>Made sub-classing simpler when no new options or components are
being created. A sub-class of a Pmw megawidget does not need to
have an __init__() method. If it does, it does not need to call
defineoptions(). Also, initialiseoptions() no longer requires an
argument (for backwards compatibility it may take an argument, but
it is ignored).</p>
</li></ul>
<p> 24 August 2002</p>
<ul><li><p>Release of version 1.0</p>
</li></ul>
<p> 26 August 2002</p>
<ul><li><p>Minor fixes.</p>
</li>
<li><p>Release of version 1.1</p>
</li></ul>
<p> 4 September 2002</p>
<ul><li><p>Added collapse, expand and toggle methods and collapsedsize option
to Pmw.Group. (Rob Pearson)</p>
</li></ul>
<p> 5 September 2002</p>
<ul><li><p>Added sticky option to several megawidgets.</p>
</li></ul>
<p> 18 September 2002</p>
<ul><li><p>Added appendtext method to Pmw.ScrolledText. (Graham Dumpleton)</p>
</li></ul>
<p> 26 September 2002</p>
<ul><li><p>Modified Pmw.ScrolledListBox to call dblclickcommand on
<Double-ButtonRelease-1> rather than <Double-ButtonPress-1> which
caused problems if the double button press unmapped the
ScrolledListBox. In this case, the second button release of the
double click is given to another widget. (Eric Pettersen)</p>
</li></ul>
<p> 14 June 2003</p>
<ul><li><p>Changes for python 2.3 and Tcl/Tk 8.4.2:</p>
<ul><li><p>Wrapped calls to cget() for Tkinter widgets in a call to
str(). Before python 2.3 cget() always returned a string.
Under python 2.3, Tkinter sometimes returns non-string values
(such as int, or Tcl_Obj). Made similar change when using
configure() to retrieve values. Fixed tests to handle integer
and Tcl_Obj return value from cget(). (Charles Doutriaux)</p>
</li>
<li><p>Fixed uses of <code>col</code> field of grid command. Must use full
<code>column</code> under Tcl/Tk 8.4.2.</p>
</li>
<li><p>Fixed PmwEntryField.py, PmwMessageBar.py, PmwScrolledField.py
so that the text is not greyed out under Tcl/Tk 8.4.2. This
was caused by a change in behaviour of the <strong>'disabled'</strong> state
and the Tk entry widget. Now use new <strong>'readonly'</strong> state for
Tcl/Tk 8.4.2.</p>
</li>
<li><p>Test script now ignores Blt test for Tcl/Tk 8.4.2, since it
causes Blt 2.4z to core dump. Blt needs to be fixed.</p>
</li>
<li><p>Changed Dialog test to work around problem caused by Tk 8.4.2
enforcing transient behaviour of windows. When activate() is
called on a dialog whose parent is withdrawn, then the dialog
window is made transient. Under old versions of Tk, the
transient dialog was displayed, but under 8.4.2 the dialog is
not displayed. Work around is to deiconify parent of dialog.</p>
</li></ul>
</li></ul>
<p> 5 August 2003</p>
<ul><li><p>Release of version 1.2</p>
</li></ul>
<p></p>
<center><P ALIGN="CENTER">
<IMG SRC = blue_line.gif ALT = "" WIDTH=320 HEIGHT=5>
</p></center>
<font size=-1>
<center><P ALIGN="CENTER">
Pmw 1.2 -
5 Aug 2003
- <a href="index.html">Home</a>
</p></center>
</font>
</body>
</html>
|