示例#1
0
 def display_file_text(self, title, filename, encoding=None):
     fn = os.path.join(os.path.abspath(os.path.dirname(__file__)), filename)
     textView.view_file(self, title, fn, encoding)
示例#2
0
 def _help(self, event=None):
     fn = os.path.join(os.path.abspath(os.path.dirname(__file__)),
                       'help.txt')
     textView.view_file(self.text, 'Help', fn)
示例#3
0
 def display_file_text(self, title, filename, encoding=None):
     fn = os.path.join(os.path.abspath(os.path.dirname(__file__)), filename)
     textView.view_file(self, title, fn, encoding)
示例#4
0
 def _help(self, event=None):
     fn = os.path.join(os.path.abspath(os.path.dirname(__file__)),
         'help.txt')
     textView.view_file(self.text, 'Help', fn)