title: Make tkinter prompt inherit parent window's icon
body: <p>I am writing a program using tkinter, and have successfully managed to use a colour icon for my program using code that looks like this:</p>
  
  <pre><code>from tkinter import *
  tk = Tk()
  root.tk.call('wm', 'iconbitmap', self._w, '-default', 'iconfile.ico')
  </code></pre>
  
  <p>However, when I create a simple dialog, it has the default tkinter icon. I have tried setting the parent to my main window, but the icon is still the default one.</p>
  
  <p>How could the icon be set to not be the default one?</p>