Gtk.MediaControls¶
Example¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1)
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gtk.MediaControls(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
GtkMediaControls
is a widget to show controls for a video.An example
Gtk.MediaControls
Usually,
GtkMediaControls
is used as part of [class`Gtk`.Video].- classmethod new(stream)[source]¶
- Parameters:
stream (
Gtk.MediaStream
orNone
) – aGtkMediaStream
to manage- Returns:
a new
GtkMediaControls
- Return type:
Creates a new
GtkMediaControls
managing the stream passed to it.
- get_media_stream()[source]¶
- Returns:
The media stream managed by self
- Return type:
Gets the media stream managed by self or
None
if none.
- set_media_stream(stream)[source]¶
- Parameters:
stream (
Gtk.MediaStream
orNone
) – aGtkMediaStream
Sets the stream that is controlled by self.