[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-11-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10171 ___ ___ Python-bugs-list mailing

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-11-02 Thread Rafe Kettler
Rafe Kettler rafe.kett...@gmail.com added the comment: I've tested how these dialogs display in regular Tcl/Tk, and it appears the problem resides in the Tcl implementation, not the Python binding. You can see for yourself by running this Tcl script: package require Tk tk_messageBox

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-11-02 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for hunting that down. Agreed about closing. I have no inkling about the Tcl development process. Can you report the bug to them? -- resolution: - invalid stage: - committed/rejected status: open - closed

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-11-02 Thread Rafe Kettler
Rafe Kettler rafe.kett...@gmail.com added the comment: I don't know anything about the Tcl development process either. Luckily, Tk is hosted on SourceForge so it was just a matter of adding a ticket to their issue tracker. Hopefully it'll get fixed quickly and the fix will percolate down into

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: In my GTK desktop environment, your two examples produce windows that don’t respect my theme. Can you give me an example that uses correct buttons for you so that I can see what I should expect? I’m not sure this is a bug or a feature request.

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-24 Thread Rafe Kettler
Rafe Kettler rafe.kett...@gmail.com added the comment: If you were to create a FileDialog, you should see proper buttons (at least I do in Windows): import tkFileDialog tkFileDialog.askopenfile() I think that this goes more along the lines of a bug, because I know that Tkinter has the

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks, I tested the file dialog example and it does not respect my theme either. Re-adding the Windows component. I suspect the bug is in Python. Like you said, Tcl/Tk and Tkinter do have the ability to use new shiny buttons, it’s just two

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-24 Thread Rafe Kettler
Rafe Kettler rafe.kett...@gmail.com added the comment: I haven't had a chance to look too deeply into the source, but it appears (at least in Python 2.7) that the problem has something to do with the commands that the classes in tkMessageBox and tkColorChooser pass to tk.call(). The Message

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-22 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10171 ___ ___ Python-bugs-list

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-22 Thread Rafe Kettler
Changes by Rafe Kettler rafe.kett...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10171 ___ ___

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-21 Thread Rafe Kettler
New submission from Rafe Kettler rafe.kett...@gmail.com: Some of the dialogs in Tkinter don't correctly show buttons in newer versions of Windows (XP, Vista, 7). Instead, they use square Win2000-and-before-type buttons. Here's some Python 2.7 code that illustrates this: import tkMessageBox