[Pythonmac-SIG] Q: Tk & Greyscale Appearance & Mac-native problems & bugs

Alexander Schliep schliep@zpr.uni-koeln.de
Thu, 18 Feb 1999 01:49:34 +0100


I have a couple of questions (I am using 1.5.2b1 and MacOS 8.1) for
which I would appreciate any answers, leads etc.

I didnt find anything in the Python and Tcl books I have, nor
in dejanews in comp.lang.python or comp.lang.tcl. I wouldnt rule
out that I do not truly understand the appearance manager and
its implications for Tk/Tkinter.

Thanks & Good night,
Alexander


Q:   The menus I created have a white instead of a platinum
     background except for my About box entry in the Apple
     menu which has background color "SystemMenu".

     Changing the background color of my other menus does not
     have an effect (nor does "SystemMenu" have any effect for
     frames in dialogs).

     How to do that ?

Q:   tk_OptionMenu does not use the usual MacOS Widget. Is this something
     which will be fixed eventually, or do I need to deal with the Toolbox
     directly. Does anybody have a OptionMenu replacement ready which
     does Toolbox on the Mac and the usual Tk on Unix and Windows ?

BUG: OptionMenu as it is is buggy. The popup will be displayed at the top of
         the screen when the popup-menubutton is too close to the bottom.

Q:   Is there a way to find out which rgb values are available in the
     palette ? I rather would compromise on colors then bear the rasterizing
     artefacts Tk produces on my 8-bit display.

BUG: The standard dialogs use the Unix-Icons instead of the Mac-icons. Is this
a
     bug in Tk or an inconvenience caused by Tkinter's Mac-port ?

     Also, the buttons are nicely gray, but the background is white.

BUG: PhotoImage does not handle transparency in GIFs correctly.

Q:   Would it break a lot of things if the interpreter would handle python
     files with Unix or DOS end of line markers directly? Python on windows
     already does it (for Unix files at least) and it is very convenient
     Of course I will not really miss it that much until I find an NFS-client
     for my Mac.

     Though starting my software on the Unix side and the double-clicking on
the
     same file (mounted over NFS) on my Windows box never fails to impress
     people when I demo cross-plattform GUI stuff.


PS: BuildApplication left me truly impressed :)










-- 
Alexander Schliep                    schliep@zpr.uni-koeln.de
ZPR/ZAIK                             Tel: +49-221-470-6011 (w)
University of Cologne                FAX: +49-221-470-5160
Weyertal 80                          http://www.zpr.uni-koeln.de/~schliep
50931 Cologne, Germany               Tel: +49-231-143083 (h)