<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><br>
</div></div>Is there any particular reason why Record does not use a single window?<br>
<font color="#888888"><br></font></blockquote></div><br><br>Record&#39;s GUI overlays widgets on top of video windows.<br><br>This is how we create the &quot;picture in a picture effect&quot; (using XV in a window) and also how we add the fullscreen toggle button.&nbsp; GTK doesn&#39;t play well with overlapping widgets -- gtk.Fixed() doesn&#39;t guarantee Z-order.&nbsp; So we use a stack of gtk.Windows without decoration.<br>
<br>Unfortunately, when we put xv video into a widget (e.g. gtk.DrawingArea with a gstreamer xvimagesink) into a gtk.Fixed, that widget&#39;s video always displays &quot;on top&quot; of other widgets, regardless of its z-order.<br>
<br>It was recommended at one point to create a new version of gtk.Fixed that guarantees z-order, but the use of gtk.Window was well underway and works.<br></div>