comp • gb.media • mediacontrol • setwindow

MediaControl.SetWindow (gb.media)

Sub SetWindow ( Control As Control [ , X As Integer, Y As Integer, Width As Integer, Height As Integer ] )

This methods tells the MediaControl to draw its output inside a specific GUI control.

  • Control : the control where to draw. It is usually a DrawingArea.

  • X, Y, Width, Height : A target rectangle inside the control. If not specified, the entire control surface will be used.

Only controls that implement the GStreamer "X-OVERLAY" interface support that method.