title: PyQt - how to get top level parent from the given widget?
body: <p>How can given widget access it's oldest parent, which is top level widget.</p>
  
  <p>I need to <code>.showMinimized()</code> it. </p>
  
  <p>Now I am using</p>
  
  <pre><code>self.parent().parent().parent().showMinimized()
  </code></pre>
  
  <p>But it seem not to be the best way for this.<br>
  If it it moved, I need to change number of parent manually. </p>
  
  <p>Is there a way to access top level widget?</p>