# Class e.p.r.r.p.PlayerOsd(Dock):

Part of elisa.plugins.raval.raval_widgets.player_osd View In Hierarchy

No class docstring

Line # | Kind | Name | Docs
--- | --- | --- | ---
34 | Method | __init__ | Undocumented
87 | Method | playing_length__set | Set the length of the playing media (in milliseconds)
98 | Method | playing_length__get | Get the length of the playing media (in milliseconds)
105 | Method | title__set | Set the title of the dock
113 | Method | title__get | Get the current title of the dock
119 | Method | time__set | Set the time position to position
128 | Method | time__get | Get the current time position
183 | Method | conversion_string__set | Set the conversion string for the time to string
194 | Method | conversion_string__get | Returns the string that is currently used to parse in time.strftime
215 | Method | time_layout__set | Set how the time should be shown
222 | Method | time_layout__get | Get the currently used time layout

Inherited from Dock:

Line # | Kind | Name | Docs
--- | --- | --- | ---
54 | Method | show | Show the player dock for the next seconds
69 | Method | _cancel_timer | Undocumented
73 | Method | hide | Hide the dock
81 | Method | is_visible | Undocumented
87 | Method | image_from_path | Undocumented
90 | Method | connect | Undocumented

def __init__(self, canvas, layer, playing_length, width, height, bar_bg_image, bar_fg_image, background_image):
overrides elisa.plugins.raval.raval_widgets.dock.Dock.__init__
Undocumented
def playing_length__set(self, length):
Set the length of the playing media (in milliseconds)

def playing_length__get(self):
Get the length of the playing media (in milliseconds)

def title__set(self, title):
Set the title of the dock

Parameters | title | the name of a movie or a audio file (type: string )

def title__get(self):
Get the current title of the dock

def time__set(self, position):
Set the time position to position

def time__get(self):
Get the current time position

def conversion_string__set(self, string):

    Set the conversion string for the time to string
    @param string: a string that could be parsed by time.strftime
    if there is none given, the player dock is set in the intelligent
        mode, and trys to guess what format is usefull

def conversion_string__get(self):
Returns the string that is currently used to parse in time.strftime

def time_layout__set(self, layout):
Set how the time should be shown

def time_layout__get(self):
Get the currently used time layout