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 _getGType() static nothrow
GType _gType() @property nothrow
MediaControls self() nothrowReturns `this`, for use in `with` statements.
MediaControlsGidBuilder builder() static nothrowGet builder for [gtk.media_controls.MediaControls] Returns: New builder object
gtk.media_stream.MediaStream mediaStream() @property nothrowGet `mediaStream` property. Returns: The media-stream managed by this object or null if none.
void mediaStream(gtk.media_stream.MediaStream propval) @property nothrowSet `mediaStream` property. Params: propval = The media-stream managed by this object or null if none.
gtk.media_stream.MediaStream getMediaStream() nothrowGets 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) nothrowSets 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) nothrowSet `mediaStream` property. Params: propval = The media-stream managed by this object or null if none. Returns: Builder instance for fluent chaining
Methods
MediaControls build() nothrowCreate object from builder. Returns: New object