git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use Tools.Directories to access the flag-images
[enigma2.git]
/
lib
/
python
/
Components
/
ConditionalWidget.py
diff --git
a/lib/python/Components/ConditionalWidget.py
b/lib/python/Components/ConditionalWidget.py
index 3d855b2728e5dc694277aa030576851d7a5fa4ef..43130fdcd89c906e8089fcae8f09152346f59c3a 100644
(file)
--- a/
lib/python/Components/ConditionalWidget.py
+++ b/
lib/python/Components/ConditionalWidget.py
@@
-30,6
+30,9
@@
class Widget(GUIComponent):
def hideWidget(self):
self.state = self.HIDDEN
self.instance.hide()
def hideWidget(self):
self.state = self.HIDDEN
self.instance.hide()
+
+ def move(self, x, y):
+ self.instance.move(ePoint(int(x), int(y)))
class ConditionalWidget(Widget):
def __init__(self, withTimer = True):
class ConditionalWidget(Widget):
def __init__(self, withTimer = True):
@@
-40,7
+43,7
@@
class ConditionalWidget(Widget):
if (withTimer):
self.conditionCheckTimer = eTimer()
self.conditionCheckTimer.timeout.get().append(self.update)
if (withTimer):
self.conditionCheckTimer = eTimer()
self.conditionCheckTimer.timeout.get().append(self.update)
- self.conditionCheckTimer.start(
5
00)
+ self.conditionCheckTimer.start(
10
00)
def setConnect(self, conditionalFunction):
self.conditionalFunction = conditionalFunction
def setConnect(self, conditionalFunction):
self.conditionalFunction = conditionalFunction