Gnome::Gtk4::MediaControls
#------------------------------------------------------------------------------- #--[Class Description]---------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
Description
Gnome::Gtk4::MediaControls is a widget to show controls for a video.
Usually, Gnome::Gtk4::MediaControls is used as part of Gnome::Gtk4::Video.
Uml Diagram
=end rakudoc
#------------------------------------------------------------------------------- #--[Class Initialization]------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
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! )
=end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
new-mediacontrols
Creates a new Gnome::Gtk4::MediaControls managing the $stream passed to it.
method new-mediacontrols ( N-Object() $stream --> Gnome::Gtk4::MediaControls )
$stream; a Gnome::Gtk4::MediaStream to manage.
=end rakudoc
#------------------------------------------------------------------------------- #--[Methods]-------------------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
Methods =end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
get-media-stream
Gets the media stream managed by $controls or undefined if none.
method get-media-stream (--> N-Object )
Return value; The media stream managed by $controls.
=end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
set-media-stream
Sets the stream that is controlled by $controls.
method set-media-stream ( N-Object() $stream )
$stream; a Gnome::Gtk4::MediaStream.
=end rakudoc