Lines Matching refs:demo
104 global demo
108 demo.statusbar = Tix.Label(w, relief=Tix.SUNKEN, bd=1)
109 demo.statusbar.form(padx=3, pady=3, left=0, right='%70')
120 demo.balloon = Tix.Balloon(root)
127 demo.balloon['statusbar'] = demo.statusbar
176 global demo
178 demo = Demo(root)
180 demo.build()
181 demo.loop()
182 demo.destroy()
193 global demo
203 demo.welfont = b1
204 demo.welsize = b2
223 demo.balloon.bind_widget(b1, msg='Choose\na font',
225 demo.balloon.bind_widget(b2, msg='Point size',
230 global demo
246 demo.welmsg = msg
250 global demo
252 if not demo.welmsg:
254 font = demo.welfont['value']
255 point = demo.welsize['value']
259 demo.welmsg['font'] = fontstr
262 if demo.useBalloons.get() == '1':
263 demo.balloon['state'] = 'both'
265 demo.balloon['state'] = 'none'
441 global demo
452 font.add('bold', bitmap='@' + demo.dir + '/bitmaps/bold.xbm')
453 font.add('italic', bitmap='@' + demo.dir + '/bitmaps/italic.xbm')
454 font.add('underline', bitmap='@' + demo.dir + '/bitmaps/underline.xbm')
455 font.add('capital', bitmap='@' + demo.dir + '/bitmaps/capital.xbm')
457 para.add('left', bitmap='@' + demo.dir + '/bitmaps/leftj.xbm')
458 para.add('right', bitmap='@' + demo.dir + '/bitmaps/rightj.xbm')
459 para.add('center', bitmap='@' + demo.dir + '/bitmaps/centerj.xbm')
460 para.add('justify', bitmap='@' + demo.dir + '/bitmaps/justify.xbm')
531 global demo
535 file = os.path.join(demo.dir, 'bitmaps', 'tix.gif')
940 global demo
966 LoadFile(w, demo.dir + '/samples/' + prog + '.py')
968 ReadFile(stext.text, demo.dir + '/samples/' + prog + '.py')