Gambas Documentation - /comp/gb.media/mediacontainer

/comp/gb.media/mediacontainer

# 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.

This class inherits MediaControl.
This class is
Create a new MediaContainer.
creatable
.
This class acts like a
Return the value of a MediaControl property from its name.
read
/
Define the value of a MediaControl property from its name.
write
array.

Properties | Methods | Events
--- | --- | ---

Return a virtual collection of all MediaContainer children.
Children
Return the name of all inputs.
Inputs
Return or set the name of the MediaControl.
Name
Return the name of all outputs.
Outputs
Return the parent of the control.
Parent
Return or define the state of the MediaControl.
State
Return or set the MediaControl tag.
Tag
Return the type of the MediaControl.
Type

Choose an input of a child control that will act as an input for the container.
AddInput
Choose an output of a child control that will act as an output for the container.
AddOutput
Return the last image displayed by a video output control.
GetLastImage
Return the description of an input or output from its name.
GetLink
Link the current control to the Destination control as soon as a new output appears on it.
LinkLaterTo
Link an output of the current MediaControl to the input of the Destination MediaControl.
LinkTo
This methods tells the MediaControl to draw its output inside a specific GUI control.
SetWindow

This event is raised when the state of the control has changed.
State