Python 2.7 (32-bit) Windows: We are experimenting with Python 2.7 support for themed Tkinter ( ttk ) for a simple graphical interface and are very impressed! One area where new theme support may have appeared is how the general OS dialogs are wrapped.
Fixed: In other words, the common MessageBox and ColorChooser have ugly Win 95-style buttons versus the thematic (rounded / gradient) buttons that usually appear in these common dialogs under XP, Vista and Windows 7. (I test on all three platforms with identical, non-thematic results).
Note. The general dialog box filedialog ( askopenfilename , askopenfilenames , asksaveasfilename , askdirectory ) is all correctly formatted.
import tkMessageBox as messagebox messagebox.showinfo() import tkColorChooser as colorchooser color = colorchooser.askcolor( parent=root, title='Customize colors' )
Any ideas on what the Tkinter MessageBox and ColorChooser common dialogs ColorChooser to be OS compatible (at least on Windows XP or higher)?
python user-interface windows tkinter ttk
Malcolm
source share