Package elisa :: Package plugins :: Package bad :: Package poblenou_frontend :: Package poblenou_widgets :: Module progressbar_osd :: Class ProgressBarOsd
[hide private]
[frames] | no frames]

Class ProgressBarOsd

source code


Nested Classes [hide private]

Inherited from pgm.graph.group.Group: __metaclass__

Instance Methods [hide private]
 
__init__(self, canvas, layer, length, bg_image, fg_image) source code
 
size__set(self, size)
Set the size of the bar.
source code
 
length__set(self, length)
Set the length.
source code
 
length__get(self)
to get the length:
source code
 
_paint_bar(self, animated=True)
Here the position is calculated and the bar is painted
source code
 
cursor_position__set(self, position)
Set the position of the cursor.
source code
 
cursor_position__get(self)
returns the position of the cursor @return : the position of the cursor
source code
 
jump_to_position(self, position)
Jump to this position.
source code
 
bg_color__set(self, color)
Set the background color.
source code
 
bg_color__get(self)
returns the current background color
source code
 
bar_color__set(self, color)
Set the color of the bar.
source code
 
bar_color__get(self)
return the current color of the bar
source code

Inherited from pgm.graph.group.Group: absolute_opacity_factor__get, absolute_position__get, add, canvas__get, canvas__set, children__get, empty, height__get, height__set, opacity__get, opacity__set, parent__get, position__get, position__set, regenerate, remove, size__get, visible__get, visible__set, width__get, width__set, x__get, x__set, y__get, y__set, z__get, z__set

Inherited from pgm.graph.group.Group (private): _proxy_child_signal, _set_visibility_from_parent

Inherited from gobject.GObject: __cmp__, __delattr__, __gdoc__, __gobject_init__, __hash__, __new__, __repr__, __setattr__, chain, connect, connect_after, connect_object, connect_object_after, disconnect, disconnect_by_func, emit, emit_stop_by_name, freeze_notify, get_data, get_properties, get_property, handler_block, handler_block_by_func, handler_disconnect, handler_is_connected, handler_unblock, handler_unblock_by_func, notify, props, set_data, set_properties, set_property, stop_emission, thaw_notify, weak_ref

Inherited from object: __getattribute__, __reduce__, __reduce_ex__, __str__

Static Methods [hide private]

Inherited from pgm.graph.group.Group: __classinit__

Class Variables [hide private]

Inherited from pgm.graph.group.Group: __gsignals__, __gtype__

Properties [hide private]
  bar_color
return the current color of the bar
  bg_color
returns the current background color
  cursor_position
returns the position of the cursor @return : the position of the cursor
  length
to get the length:
  size

Inherited from pgm.graph.group.Group: absolute_opacity_factor, absolute_position, canvas, children, height, opacity, parent, position, visible, width, x, y, z

Inherited from gobject.GObject: __grefcount__

Inherited from object: __class__

Method Details [hide private]

__init__(self, canvas, layer, length, bg_image, fg_image)
(Constructor)

source code 
Overrides: pgm.graph.group.Group.__init__

size__set(self, size)

source code 
Set the size of the bar. The bar is automatically new painted
Overrides: pgm.graph.group.Group.size__set

length__set(self, length)

source code 
Set the length. The bar is automatically new painted
Parameters:
  • length (as above: something to do mathematic stuff) - the length of the process

length__get(self)

source code 
to get the length:
Returns:
returns the length

cursor_position__set(self, position)

source code 
Set the position of the cursor. The bar is automatically new painted (with animation)
Parameters:
  • position (something to do mathematic stuff with) - the position to set to

jump_to_position(self, position)

source code 
Jump to this position. This means that the cursor doesn't go there with animationm but that it is there immediatly
Parameters:
  • position (something to do mathematic stuff with) - the position to jump to

bg_color__set(self, color)

source code 
Set the background color. The bar is automatically new painted
Parameters:
  • color - color of the background

bar_color__set(self, color)

source code 
Set the color of the bar. The bar is automatically new painted
Parameters:
  • color - color of the bar

Property Details [hide private]

bar_color

return the current color of the bar
Get Method:
elisa.plugins.bad.poblenou_frontend.poblenou_widgets.progressbar_osd.ProgressBarOsd.bar_color__get(self) - return the current color of the bar
Set Method:
elisa.plugins.bad.poblenou_frontend.poblenou_widgets.progressbar_osd.ProgressBarOsd.bar_color__set(self, color) - Set the color of the bar.
Delete Method:
'frontend'

bg_color

returns the current background color
Get Method:
elisa.plugins.bad.poblenou_frontend.poblenou_widgets.progressbar_osd.ProgressBarOsd.bg_color__get(self) - returns the current background color
Set Method:
elisa.plugins.bad.poblenou_frontend.poblenou_widgets.progressbar_osd.ProgressBarOsd.bg_color__set(self, color) - Set the background color.
Delete Method:
'frontend'

cursor_position

returns the position of the cursor @return : the position of the cursor
Get Method:
elisa.plugins.bad.poblenou_frontend.poblenou_widgets.progressbar_osd.ProgressBarOsd.cursor_position__get(self) - returns the position of the cursor @return : the position of the cursor
Set Method:
elisa.plugins.bad.poblenou_frontend.poblenou_widgets.progressbar_osd.ProgressBarOsd.cursor_position__set(self, position) - Set the position of the cursor.
Delete Method:
'frontend'

length

to get the length:
Get Method:
elisa.plugins.bad.poblenou_frontend.poblenou_widgets.progressbar_osd.ProgressBarOsd.length__get(self) - to get the length:
Set Method:
elisa.plugins.bad.poblenou_frontend.poblenou_widgets.progressbar_osd.ProgressBarOsd.length__set(self, length) - Set the length.
Delete Method:
'frontend'

size

Get Method:
pgm.graph.group.Group.size__get(self)
Set Method:
elisa.plugins.bad.poblenou_frontend.poblenou_widgets.progressbar_osd.ProgressBarOsd.size__set(self, size) - Set the size of the bar.
Delete Method:
'frontend'