(self, title, filename, encoding=None)
Create textview for filename.

        The filename needs to be in the current directory.  The path
        is sent to a text viewer with self as the parent, title as
        the title of the popup, and the file encoding.
Create textview for filename.
Create textview for filename .
def display_file_text(self, title, filename, encoding=None):
        """Create textview for filename.

        The filename needs to be in the current directory.  The path
        is sent to a text viewer with self as the parent, title as
        the title of the popup, and the file encoding.
        """
        fn = os.path.join(os.path.abspath(os.path.dirname(__file__)), filename)
        self._current_textview = textview.view_file(
            self, title, fn, encoding, _utest=self._utest)
def display_file_text ( self , title , filename , encoding = None ) : fn = os . path . join ( os . path . abspath ( os . path . dirname ( __file__ ) ) , filename ) self . _current_textview = textview . view_file ( self , title , fn , encoding , _utest = self . _utest )