Stencil container: clip drawing of children to his container
Bases: pymt.ui.widgets.widget.MTWidget
This container clip the children drawing to his container
from pymt import *
s = MTStencilContainer(size=(200, 200))
s.add_widget(MTLabel(label="plop", pos=(100, 100), font_size=16))
s.add_widget(MTLabel(label="a very very long sentence !", pos=(100, 150), font_size=16))
w = MTWindow()
w.add_widget(s)
runTouchApp()