About my projects, examples and tutorials
Gnome::Gtk4::MediaControls

Gnome::Gtk4::MediaControls

Description§

Gnome::Gtk4::MediaControls is a widget to show controls for a video.

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/media-controls.png> :width<30\%>

Usually, Gnome::Gtk4::MediaControls is used as part of Gnome::Gtk4::Video.

Uml Diagram§

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/plantuml/MediaControls.png> :width<70\%>

Class initialization§

new§

:native-object§

Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.

multi method new ( N-Object() :$native-object! )
Code

new-mediacontrols§

Creates a new Gnome::Gtk4::MediaControls managing the $stream passed to it.

method new-mediacontrols ( N-Object() $stream --> Gnome::Gtk4::MediaControls )
Code

Methods§

get-media-stream§

Gets the media stream managed by $controls or undefined if none.

method get-media-stream (--> N-Object )
Code

Return value; The media stream managed by $controls.

set-media-stream§

Sets the stream that is controlled by $controls.

method set-media-stream ( N-Object() $stream )
Code