1 """an example of chsize"""
3 from pygame.locals import *
5 # the following line is not needed if pgu is installed
6 import sys; sys.path.insert(0, "..")
13 c = gui.Table(width=500,height=500)
18 <div style='margin: 8px; padding: 8px; border: 1px; border-color: #88ffff; background: #eeffff;'><img src='cuzco.png' align=right>cuzco is my goat. cuzco is my goat. cuzco is my goat. cuzco is my goat. cuzco is my goat. cuzco is my goat. cuzco is my goat. cuzco is my goat. cuzco is my goat. cuzco is my goat. cuzco is my goat. cuzco is my goat. cuzco is my goat. cuzco is my goat. </div>"""
19 doc = html.HTML(data,width=dw)
23 s = gui.HSlider(300,200,450,100,width=dw)
26 doc.style.width = s.value
28 s.connect(gui.CHANGE,mychange,(s,doc))
31 app.connect(gui.QUIT,app.quit,None)