demos/04_texteditor.py
changeset 106 abcadb7e2ef1
parent 96 68c562e0eb1f
child 115 b4ff7392003a
equal deleted inserted replaced
105:70c9cfc70cd6 106:abcadb7e2ef1
     6 #from tuikit.scrollview import ScrollView
     6 #from tuikit.scrollview import ScrollView
     7 from tuikit.widgets.textbox import TextBox
     7 from tuikit.widgets.textbox import TextBox
     8 
     8 
     9 
     9 
    10 class MyApplication(Application):
    10 class MyApplication(Application):
       
    11 
    11     def __init__(self):
    12     def __init__(self):
    12         Application.__init__(self)
    13         Application.__init__(self)
    13         #self.top.add_handler('keypress', self.on_top_keypress)
    14         #self.top.add_handler('keypress', self.on_top_keypress)
    14 
    15 
    15         t = open('../tuikit/core/widget.py').read()
    16         t = open('../tuikit/core/widget.py').read()