show the widget after moving it

This commit is contained in:
Dana Jansens 2003-02-02 23:24:44 +00:00
parent fd96ddd82e
commit 6eae9223a1

View file

@ -115,7 +115,6 @@ def _do_move():
_popwidget.setTexture(style.titlebarFocusBackground())
_poplabel = otk.Label(_popwidget)
_poplabel.setTexture(style.labelFocusBackground())
_popwidget.show(1)
_poplabel.fitString(text)
_poplabel.setText(text)
area = otk.display.screenInfo(_screen).rect()
@ -124,6 +123,7 @@ def _do_move():
_popwidget.width()) / 2,
area.y() + (area.height() -
_popwidget.height()) / 2)
_popwidget.show(1)
def move(data):
"""Moves the window interactively. This should only be used with