[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-11-03 Thread Éric Araujo
Éric Araujo added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-11-02 Thread Rafe Kettler
Rafe Kettler 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 Tkinter. --

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-11-02 Thread Éric Araujo
Éric Araujo 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 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 tk_chooseColor Since this is no

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-24 Thread Rafe Kettler
Rafe Kettler 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 class in tkMessageBox, t

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-24 Thread Éric Araujo
Éric Araujo 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 modules that are no

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-24 Thread Rafe Kettler
Rafe Kettler 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 ability to properly show butt

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-24 Thread Éric Araujo
Éric Araujo 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. -- compo

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-22 Thread Rafe Kettler
Changes by Rafe Kettler : -- components: +Windows ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-22 Thread R. David Murray
Changes by R. David Murray : -- nosy: +gpolo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-21 Thread Rafe Kettler
New submission from Rafe Kettler : 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 tkMessageBox.showinfo()