ClapperGtk.Av¶
- Subclasses:
Methods¶
- Inherited:
Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (18), Gtk.Buildable (1)
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (7), Gtk.Buildable (9)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
|||
r/en |
|||
r/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class ClapperGtk.Av(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A base class for GTK audio and video widgets.
See its descendants: [class`ClapperGtk`.Audio] and [class`ClapperGtk`.Video].
- Actions
ClapperGtk.Avdefines a set of built-in actions:```yaml
“av.toggle-play”: toggle play/pause
“av.play”: start/resume playback
“av.pause”: pause playback
“av.stop”: stop playback
“av.seek”: seek to position (variant “d”)
“av.seek-custom”: seek to position using seek method (variant “(di)”)
“av.toggle-mute”: toggle mute state
“av.set-mute”: set mute state (variant “b”)
“av.volume-up”: increase volume by 2%
“av.volume-down”: decrease volume by 2%
“av.set-volume”: set volume to specified value (variant “d”)
“av.speed-up”: increase speed (from 0.05x - 2x range to nearest quarter)
“av.speed-down”: decrease speed (from 0.05x - 2x range to nearest quarter)
“av.set-speed”: set speed to specified value (variant “d”)
“av.previous-item”: select previous item in queue
“av.next-item”: select next item in queue
“av.select-item”: select item at specified index in queue (variant “u”) ```
New in version 0.10.
- get_auto_inhibit()¶
-
Get whether automatic session inhibit is enabled.
New in version 0.10.
- get_inhibited()¶
-
Get whether session is currently inhibited by [property`ClapperGtk`.Av:auto-inhibit].
New in version 0.10.
- get_player()¶
- Returns:
a
Clapper.Playerused by widget.- Return type:
Get
Clapper.Playerused by thisClapperGtk.Avinstance.New in version 0.10.
Property Details¶
- ClapperGtk.Av.props.auto_inhibit¶
- Name:
auto-inhibit- Type:
- Default Value:
- Flags:
Try to automatically inhibit session when media is playing.
- ClapperGtk.Av.props.inhibited¶
- Name:
inhibited- Type:
- Default Value:
- Flags:
Get whether session is currently inhibited by playback.
- ClapperGtk.Av.props.player¶
- Name:
player- Type:
- Default Value:
- Flags:
A
Clapper.Playerused by widget.