| Issue 308: | MTFlippableWidget and flip_to() | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I can't use the flip_to() function in MTFlippableWidget. It just does nothing if I use it (no error).
example code:
from pymt import *
widget = MTFlippableWidget()
widget.add_widget(MTLabel(label='Front'), side='front')
widget.add_widget(MTLabel(label='Back'), side='back')
@widget.event
def on_touch_down(touch):
widget.flip_to("back")
runTouchApp(widget)
Aug 16, 2010
Project Member
#1
txprog
Status:
Done
|