import wx
import os

class ThreadsTab(wx.Panel):
    def __init__(self, parent, frame_parent):
        wx.Panel.__init__(self, parent, -1)

        mystring = 'To see an example of how a large file can be loaded without slowing down the program (using a thread): click in the main window with the mouse and press the m key on your keyboard. The object will simply be added to the main window when ready. Notice that a tree item and property pane is also automatically generated. A status message reports the progress in the status bar (bottom line of the window). We hope to extend this as an option for all import and export functions in future versions.'
        
        demoText = wx.TextCtrl(self, -1, size = (500, 90), style=wx.TE_MULTILINE, value = mystring)
        demoText.SetEditable(0)
        
        #demoLbl = wx.StaticText(self, -1, '\n\
        #                       \n\
        #                       To see an example of how a large file can be loaded without\n \
        #                       slowing down the program (using a thread): click in the main \n\
        #                       window with the mouse and press the m key on your keyboard.\n\
        #                       \n\
        #                       The object will simply be added to the main window when ready.\n\
        #                       A status message reports the progress in the status bar (bottom).\n\
        #                       \n\
        #                       We hope to extend this as an option for all import and export \n\
        #                       functions in future versions.')
        #
        #
        #
        #
