On 4月16日, 上午3时05分, Suraj Barkale <su...@barkale.com> wrote: > Greg Ewing <greg.ewing <at> canterbury.ac.nz> writes: > > >PyGUI2.0.1 is available: > > Thank you very much for this GUI toolkit. I always wanted something like this > on > windows. I installed this and tried out the tests on Python 2.6.1 and Windows > XP > SP3. Following are my observations. I will try to send some patches once I > have > looked at the code in detail. > > After installing on windows I had to manually delete > "C:\python26\lib\site-packages\GUI\Win32\__init__.py" in order to get it work. > > Test 02-window.py: > 1. Resizing window produces white horizontal bars. Use double buffering to > prevent this? > > Test 05-checkbox.py: > 1. Checkbok background is a black rectangle. > > Test 06-radiobutton.py: > 1. Radiobutton has a white background. > > Test 09-textfield.py: > 1. All textfields have black area at right & bottom. > 2. For multiline textfield, the black are is not painted over during > repaint. > 3. Textfields no not have XP style borders. > > Test 15-dialog.py: > 1. Alt+F4 does not work. However Ctrl+Q works fine. > 2. Initially keyboard navigation is not possible. Once a button is > clicked, > it is focused and keyboard navigation is possible. > 2. If Cancel button has focus, pressing Enter should print Cancel. > Currently > it prints OK. > 3. Pressing spacebar should activate focused button. > > Test 18-exceptions.py: > 1. Printing traceback to console is not sufficient on windows. > > Test 29-slider.py: > 1. Defenitions of 'live' and 'non-live' are swapped in the printed > message. > > Test 33-mouse-events.py: > 1. mouse-enter and mouse-leave events are not reported. > > Test 37-image-cursor.py: > 1. Mouse pointer hotspot is in the middle of the image. > > Test 38-keys.py: > 1. Key combinations with Ctrl & Alt are not detected properly. > 2. Scroll-lock is reported as f14 > 3. Pause/Break is reported as f15 > 4. Caps-lock & Num-lock are detected as keycodes but 'key' is not > reported. > > Regards, > Suraj
As Suraj sugguested, I deleted the __init__.py file. After that I had no problem running these test files. But when I ran the blobedit demo, it raied attributeNotFoundException. -- http://mail.python.org/mailman/listinfo/python-list