git.cweiske.de
/
enigma2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add new box depending rc visualization
[enigma2.git]
/
lib
/
python
/
Components
/
Sources
/
Progress.py
1
from Source import Source
2
3
class Progress(Source):
4
def __init__(self, value = 0, range = 100):
5
Source.__init__(self)
6
self.__value = value
7
self.range = range
8
9
def getValue(self):
10
return self.__value
11
12
def setValue(self, value):
13
self.__value = value
14
self.changed((self.CHANGED_ALL,))
15
16
value = property(getValue, setValue)