ClapperGtk.SeekBar

g ClapperGtk.SeekBar ClapperGtk.SeekBar GObject.GInterface GObject.GInterface Gtk.Accessible Gtk.Accessible GObject.GInterface->Gtk.Accessible Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.ConstraintTarget Gtk.ConstraintTarget GObject.GInterface->Gtk.ConstraintTarget GObject.InitiallyUnowned GObject.InitiallyUnowned Gtk.Widget Gtk.Widget GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Accessible->Gtk.Widget Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget->Gtk.Widget Gtk.Widget->ClapperGtk.SeekBar

Subclasses:

None

Methods

Inherited:

Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1)

Structs:

Gtk.WidgetClass (18), GObject.ObjectClass (5)

class

new ()

get_reveal_labels ()

get_seek_method ()

set_reveal_labels (reveal)

set_seek_method (method)

Virtual Methods

Inherited:

Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)

Properties

Inherited:

Gtk.Widget (34), Gtk.Accessible (1)

Name

Type

Flags

Short Description

reveal-labels

bool

r/w/en

seek-method

Clapper.PlayerSeekMethod

r/w/en

Signals

Inherited:

Gtk.Widget (13), GObject.Object (1)

Fields

Inherited:

Gtk.Widget (13), GObject.Object (1)

Class Details

class ClapperGtk.SeekBar(**kwargs)
Bases:

Gtk.Widget

Abstract:

No

Structure:

ClapperGtk.SeekBarClass

A bar for seeking and displaying playback position.

classmethod new()
Returns:

a new seek bar Gtk.Widget.

Return type:

Gtk.Widget

Creates a new ClapperGtk.SeekBar instance.

get_reveal_labels()
Returns:

True if the labels are going to be revealed, False otherwise.

Return type:

bool

Get whether the position and duration labels are going to be revealed.

get_seek_method()
Returns:

Clapper.PlayerSeekMethod used for seeking.

Return type:

Clapper.PlayerSeekMethod

Get [enum`Clapper`.PlayerSeekMethod] used when seeking with seek bar.

set_reveal_labels(reveal)
Parameters:

reveal (bool) – whether to reveal labels

Set whether the position and duration labels should be revealed.

set_seek_method(method)
Parameters:

method (Clapper.PlayerSeekMethod) – a Clapper.PlayerSeekMethod

Set [enum`Clapper`.PlayerSeekMethod] to use when seeking with seek bar.

Property Details

ClapperGtk.SeekBar.props.reveal_labels
Name:

reveal-labels

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Reveal state of the position and duration labels.

ClapperGtk.SeekBar.props.seek_method
Name:

seek-method

Type:

Clapper.PlayerSeekMethod

Default Value:

Clapper.PlayerSeekMethod.NORMAL

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Method used for seeking.