<p>A UI I am working on has multiple gtk.Windows, which I would like to hide when they are resizing (to avoid screen flashes).</p><p>The multiple gtk.Windows are set_transient() for each other, allowing me to &quot;stack&quot; them, and when I hide() and show(), the flicker is indeed gone!
<br></p><p>But, they cannot
reliably hide() and show() without sometimes not re-showing... <br>
</p>
<p>
Here is an attempt at how to force them to re-show (but is not successful):
</p><pre style="margin-left: 40px;" class="wiki"><font size="4">self.windowOne.hide()<br>self.windowTwo.hide()<br><br>#move the windows around, resize them, but cloaked from sight<br><br>self.windowOne.realize()<br>#re-establish who is transient for who, from the bottom up.
<br>self.windowOne.set_transient_for( self.activity )<br>self.windowOne.raise_()<br>self.windowOne.show_all()<br><br>self.windowTwo.realize()<br>self.windowTwo.set_transient_for( self.windowOne )<br>self.windowTwo.raise_()
<br>self.windowTwo.show_all()</font></pre><br>Any ideas? What else to try?<br>