/usr/share/pymt-examples/widgets/stencilcontainer.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 | from pymt import *
sb = MTStencilContainer(size=(200, 200))
s = MTStencilContainer(size=(50, 50))
s.add_widget(MTLabel(label="XXXXXXXXXX", pos=(100, 100), font_size=16))
s.add_widget(MTLabel(label="XXXXXXXXXXXXXXXXXXXXXXXXXXXXX", pos=(150, 50), font_size=16))
s.add_widget(MTLabel(label="XXXXXXXXXXXXXXXXXXXXXXXXXXXXX", pos=(100, 150), font_size=16))
s.add_widget(MTLabel(label="XXXXXXXXXXXXXXXXXXXXXXXXXXXXX", pos=(0, 0), font_size=16))
sb.add_widget(s)
w = MTWindow()
w.add_widget(sb)
runTouchApp()
|