/usr/share/pymt-examples/widgets/popup.py is in python-pymt 0.5.1-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | from pymt import *
m = MTWindow()
p = MTPopup(title='Example with kinetic', label_submit='Select')
k = MTKineticList(size=(400, 300), searchable=False, deletable=False, title=None)
k.add_widget(MTKineticItem(label='test1'))
k.add_widget(MTKineticItem(label='test2'))
k.add_widget(MTKineticItem(label='blehlazkdjalzidj'))
k.add_widget(MTKineticItem(label='blehlazkdjalzidj'))
k.add_widget(MTKineticItem(label='blehlazkdjalzidj'))
k.add_widget(MTKineticItem(label='blehlazkdjalzidj'))
p.add_widget(k)
m.add_widget(p)
runTouchApp()
|