<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's GUI overlays widgets on top of video windows.<br><br>This is how we create the "picture in a picture effect" (using XV in a window) and also how we add the fullscreen toggle button. GTK doesn't play well with overlapping widgets -- gtk.Fixed() doesn't guarantee Z-order. 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's video always displays "on top" 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>