Why can't I change the icon on a tkMessagebox.askyesno() on OS X?
问题 tkMessageBox.askyesno('Title', 'Message', icon=tkMessageBox.WARNING) on OS X just gives me the rocket icon. I know there is some weirdness with OS X and tkMessageBox icons because tkMessageBox.showerror() just shows the rocket icon, but tkMessageBox.showwarning shows a yellow triangle (with a small rocket in the corner) Is this is a bug? Is there some workaround to get a warning triangle and Yes/No buttons without having to resort to making my own message box window from scratch? 回答1: I found