fix example

This commit is contained in:
Qua-non 2012-01-28 15:50:44 +05:30
parent 33d77a98a5
commit 77977b8930
1 changed files with 5 additions and 7 deletions

View File

@ -71,17 +71,15 @@ class cut_copy_paste(TabbedPannel):
_anim.start(l[0])
def _on_complete(*lt):
if l[0].parent:
l[0].parent.remove_widget(l[0])
self.clear_widgets()
self.add_widget(l[0])
anim = Animation(color = (1, 1, 1, 1), d =.23, t = 'in_quad')
start_anim(anim)
anim.bind(on_complete = _on_complete)
start_anim(anim)
if l[0].parent:
l[0].parent.remove_widget(l[0])
class TabShowcase(FloatLayout):