gtk.media_controls

Module for MediaControls class

Types 3

gtk.media_controls.MediaControls is a widget to show controls for a video.

!An example GtkMediaControls

Usually, gtk.media_controls.MediaControls is used as part of gtk.video.Video.

Methods
GType _gType() @property
MediaControls self()Returns `this`, for use in `with` statements.
MediaControlsGidBuilder builder()Get builder for [gtk.media_controls.MediaControls] Returns: New builder object
gtk.media_stream.MediaStream mediaStream() @propertyGet `mediaStream` property. Returns: The media-stream managed by this object or null if none.
void mediaStream(gtk.media_stream.MediaStream propval) @propertySet `mediaStream` property. Params: propval = The media-stream managed by this object or null if none.
gtk.media_stream.MediaStream getMediaStream()Gets the media stream managed by controls or null if none. Returns: The media stream managed by controls
void setMediaStream(gtk.media_stream.MediaStream stream = null)Sets the stream that is controlled by controls.
Constructors
this(void * ptr, Flag!"Take" take)
this(gtk.media_stream.MediaStream stream = null)Creates a new [gtk.media_controls.MediaControls] managing the stream passed to it.

Fluent builder implementation template for gtk.media_controls.MediaControls

Methods
T mediaStream(gtk.media_stream.MediaStream propval)Set `mediaStream` property. Params: propval = The media-stream managed by this object or null if none. Returns: Builder instance for fluent chaining
Methods
MediaControls build()Create object from builder. Returns: New object