Message44190
Logged In: YES
user_id=431773
Here is a proposed approach to handle the exists problem. Supply a new argument to Font: exists. If False, the existing behavior is used; if True, existence is checked and the font configured (if any config info supplied). This makes it trivial to write "nameToFont" (it also makes it unnecessary, but I really think it is desirable).
The issue of how to make nameToFont a method of tk objects remains. I'd love to import tkFont (font objects should be more visible) but obviously permission is needed for such a step.
Anyway, what do you think? Is it permissable to add the "exists" argument to Font.__init__? |
|
Date |
User |
Action |
Args |
2007-08-23 15:28:08 | admin | link | issue764217 messages |
2007-08-23 15:28:08 | admin | create | |
|