ClapperGtk.SimpleControls¶
- Subclasses:
None
Methods¶
- Inherited:
ClapperGtk.Container (11), 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:
ClapperGtk.Container (4), Gtk.Widget (34), Gtk.Accessible (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/en |
|||
r/w/en |
|||
r/w |
Signals¶
- Inherited:
ClapperGtk.Container (1), Gtk.Widget (13), GObject.Object (1)
Fields¶
- Inherited:
ClapperGtk.Container (1), Gtk.Widget (13), GObject.Object (1)
Class Details¶
- class ClapperGtk.SimpleControls(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A minimalistic playback controls panel widget.
ClapperGtk.SimpleControls
is a simple, ready to be used playback controls widget. It is meant to be placed as an overlay (either fading or not) of [class`ClapperGtk`.Video] as-is, providing minimal yet universal playback controls for your app.If you need a further customized controls, please use individual widgets this widget consists of to build your own controls implementation instead.
- classmethod new()¶
- Returns:
a new simple controls
Gtk.Widget
.- Return type:
Creates a new
ClapperGtk.SimpleControls
instance.
- Returns:
ClapperGtk.ExtraMenuButton
within simple controls panel.- Return type:
Get [class`ClapperGtk`.ExtraMenuButton] that resides within self.
- get_fullscreenable()¶
-
Get whether [class`ClapperGtk`.ToggleFullscreenButton] button in the self is set to be visible.
- get_seek_method()¶
- Returns:
Clapper.PlayerSeekMethod
used for seeking.- Return type:
Get [enum`Clapper`.PlayerSeekMethod] used when seeking with progress bar.
- set_fullscreenable(fullscreenable)¶
- Parameters:
fullscreenable (
bool
) – whether show button for toggling fullscreen state
Set whether [class`ClapperGtk`.ToggleFullscreenButton] button in the self should be visible.
You might want to consider setting this to
False
, if your application does not implement [signal`ClapperGtk`.Video::toggle-fullscreen] signal.
- set_seek_method(method)¶
- Parameters:
method (
Clapper.PlayerSeekMethod
) – aClapper.PlayerSeekMethod
Set [enum`Clapper`.PlayerSeekMethod] to use when seeking with progress bar.
Property Details¶
- Name:
extra-menu-button
- Type:
- Default Value:
- Flags:
Access to extra menu button within controls.
- ClapperGtk.SimpleControls.props.fullscreenable¶
- Name:
fullscreenable
- Type:
- Default Value:
- Flags:
Whether toggle fullscreen button should be visible.
- ClapperGtk.SimpleControls.props.seek_method¶
- Name:
seek-method
- Type:
- Default Value:
- Flags:
Method used for seeking.