|
|
|
|
|
• When I tabbed between applications, clicked in another application, and then went back to the Tk app, it didn't recognize the mouse. Clicking on the app icon in the start bar seems to fix this. (There doesn't seem to be any solid reproducible cause and effect for loss of mouse recognition.) |
|
|
|
|
|
|
|
|
• The -underline option doesn't seem to work properly when I attempted to underline a letter in a menu option, so the corresponding key could be used as a keyboard shortcut. |
|
|
|
|
|
|
|
|
• Some methods (most of which you wouldn't use because they are obscure) didn't return a reasonable value. These were noted throughout the book as they were discussed. |
|
|
|
|
|
|
|
|
• When I clicked in a text widget to give it the keyboard focus and then clicked elsewhere, the text widget didn't give up the focus. You can use Shift-Tab to switch between widgets within the window once text has the focus, but it still doesn't seem to want to give up the focus (the cursor stays as an I bar cursor, and won't interact with the button at all). |
|
|
|
|
|
|
|
|
• When I tried to display a photo as an image in a button (by using the -image option), the photo looked garbled. |
|
|
|
|
|
|
|
|
Other than these minor problems, most of which probably wouldn't apply to a run-of-the-mill application, everything worked well. |
|
|
|
|
|
|
|
|
In the X Window System, the user can select text by simply highlighting it. In Microsoft Windows, you have to highlight the text and put it in the clipboard by typing CTRL-C (for Copy), pasting it back with CTRL-V or the equivalent for the application you're running. Perl/Tk does not interact with the clipboard like this. There are several widgets that have an -exportselection option (such as listbox and text) and still work as indicated; if they are set to zero, however, they won't copy the selected text to the clipboard. |
|
|
|
|