title: root.iconbitmap() forces tkinter to enter a temporary eventloop?
body: <p>Does <code>wm_iconbitmap</code> method forces tkinter to enter an event loop while it processes the icon file? Is there a way to avoid this? Check this example that illustrates this:</p>
  <pre><code>from tkinter import *
  import time
  
  root = Tk()
  root.iconbitmap('images/logo.ico') # Without `mainloop()` shows the window, means the events have started being processed?
  time.sleep(3)
  </code></pre>
  <p>I couldn't find any related info in the <a href="https://www.tcl.tk/man/tcl8.5/TkCmd/wm.html#M31" rel="nofollow noreferrer">docs</a> either.
  Thanks in advance :)</p>
  <p>Edit: A little more research shows that <code>root.iconbitmap()</code> does not enter event loop, maybe because there is no icon to process/check? But that would not answer why <code>root.iconphoto</code> does not enter an event-loop when called</p>