MediaContainer (gb.media)

A MediaContainer allows to group several MediaControl together so that they act as one sole control.

By default, a MediaContainer has no input, no output. So to make it look like a normal control, you must use the AddInput and AddOutput methods that will take inputs and outputs from the child controls and use them as inputs and outputs for the container.

Cette classe hérite MediaControl.

Cette classe est instanciable.

Cette classe se comporte comme un tableau en lecture / écriture.

Propriétés
Children   Return a virtual collection of all MediaContainer children.

Propriétés héritées
Handle   Return the internal GStreamer handle associated with a MediaControl.
Inputs   Return the name of all inputs.
Name   Return or set the name of the MediaControl.
Outputs   Return the name of all outputs.
Parent   Return the parent of the control.
State   Return or define the state of the MediaControl.
Tag   Return or set the MediaControl tag.
Type   Return the type of the MediaControl.

Méthodes
AddInput   Choose an input of a child control that will act as an input for the container.
AddOutput   Choose an output of a child control that will act as an output for the container.

Méthodes héritées
GetLastImage   Return the last image displayed by a video output control.
GetLink   Return the description of an input or output from its name.
LinkLaterTo   Link the current control to the Target control as soon as a new output appears on it.
LinkTo   Link an output of the current MediaControl to the input of the Target MediaControl.
SetWindow   This methods tells the MediaControl to draw its output inside a specific GUI control.

Évènements hérités
State   This event is raised when the state of the control has changed.