controls/DebugVariablePanel/DebugVariableTextViewer.py
changeset 1782 5b6ad7a7fd9d
parent 1780 c52d1460cea8
child 1847 6198190bc121
equal deleted inserted replaced
1781:b112bfdde5cc 1782:5b6ad7a7fd9d
    28 
    28 
    29 from DebugVariableItem import DebugVariableItem
    29 from DebugVariableItem import DebugVariableItem
    30 from DebugVariableViewer import DebugVariableViewer
    30 from DebugVariableViewer import DebugVariableViewer
    31 from GraphButton import GraphButton
    31 from GraphButton import GraphButton
    32 
    32 
    33 #-------------------------------------------------------------------------------
    33 # -------------------------------------------------------------------------------
    34 #                     Debug Variable Text Viewer Drop Target
    34 #                     Debug Variable Text Viewer Drop Target
    35 #-------------------------------------------------------------------------------
    35 # -------------------------------------------------------------------------------
    36 
    36 
    37 
    37 
    38 class DebugVariableTextDropTarget(wx.TextDropTarget):
    38 class DebugVariableTextDropTarget(wx.TextDropTarget):
    39     """
    39     """
    40     Class that implements a custom drop target class for Debug Variable Text Viewer
    40     Class that implements a custom drop target class for Debug Variable Text Viewer
   138                                   wx.OK | wx.ICON_ERROR)
   138                                   wx.OK | wx.ICON_ERROR)
   139         dialog.ShowModal()
   139         dialog.ShowModal()
   140         dialog.Destroy()
   140         dialog.Destroy()
   141 
   141 
   142 
   142 
   143 #-------------------------------------------------------------------------------
   143 # -------------------------------------------------------------------------------
   144 #                      Debug Variable Text Viewer Class
   144 #                      Debug Variable Text Viewer Class
   145 #-------------------------------------------------------------------------------
   145 # -------------------------------------------------------------------------------
   146 
   146 
   147 class DebugVariableTextViewer(DebugVariableViewer, wx.Panel):
   147 class DebugVariableTextViewer(DebugVariableViewer, wx.Panel):
   148     """
   148     """
   149     Class that implements a Viewer that display variable values as a text
   149     Class that implements a Viewer that display variable values as a text
   150     """
   150     """