GtkMediaControls — A widget showing controls for a media stream
GtkMediaStream * | media-stream | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkMediaControls
GtkMediaControls implements GtkAccessible, GtkBuildable and GtkConstraintTarget.
#include <gtk/gtk.h>
GtkMediaControls is a widget to show controls for a GtkMediaStream and giving users a way to use it.
GtkWidget *
gtk_media_controls_new (GtkMediaStream *stream
);
Creates a new GtkMediaControls managing the stream
passed to it.
stream | a GtkMediaStream to manage or | [allow-none][transfer none] |
a new GtkMediaControls
GtkMediaStream *
gtk_media_controls_get_media_stream (GtkMediaControls *controls
);
Gets the media stream managed by controls
or NULL
if none.
controls |
The media stream managed by controls
.
[nullable][transfer none]
void gtk_media_controls_set_media_stream (GtkMediaControls *controls
,GtkMediaStream *stream
);
Sets the stream that is controlled by controls
.
controls | a GtkMediaControls widget | |
stream | a GtkMediaStream, or | [nullable] |
typedef struct _GtkMediaControls GtkMediaControls;
“media-stream”
property“media-stream” GtkMediaStream *
The media-stream managed by this object or NULL
if none.
Owner: GtkMediaControls
Flags: Read / Write
© 2005–2020 The GNOME Project
Licensed under the GNU Lesser General Public License version 2.1 or later.
https://developer.gnome.org/gtk4/4.0/GtkMediaControls.html