controls/DebugVariablePanel/DebugVariablePanel.py
changeset 1782 5b6ad7a7fd9d
parent 1780 c52d1460cea8
child 1783 3311eea28d56
equal deleted inserted replaced
1781:b112bfdde5cc 1782:5b6ad7a7fd9d
    74                      if next_tick is None
    74                      if next_tick is None
    75                      else min(next_tick, data[0][0]))
    75                      else min(next_tick, data[0][0]))
    76 
    76 
    77     return next_tick
    77     return next_tick
    78 
    78 
    79 #-------------------------------------------------------------------------------
    79 # -------------------------------------------------------------------------------
    80 #                    Debug Variable Graphic Panel Drop Target
    80 #                    Debug Variable Graphic Panel Drop Target
    81 #-------------------------------------------------------------------------------
    81 # -------------------------------------------------------------------------------
    82 
    82 
    83 
    83 
    84 class DebugVariableDropTarget(wx.TextDropTarget):
    84 class DebugVariableDropTarget(wx.TextDropTarget):
    85     """
    85     """
    86     Class that implements a custom drop target class for Debug Variable Graphic
    86     Class that implements a custom drop target class for Debug Variable Graphic
   167                                   message,
   167                                   message,
   168                                   _("Error"),
   168                                   _("Error"),
   169                                   wx.OK | wx.ICON_ERROR)
   169                                   wx.OK | wx.ICON_ERROR)
   170         dialog.ShowModal()
   170         dialog.ShowModal()
   171         dialog.Destroy()
   171         dialog.Destroy()
   172 
       
   173 
       
   174 #-------------------------------------------------------------------------------
       
   175 #                      Debug Variable Graphic Panel Class
       
   176 #-------------------------------------------------------------------------------
       
   177 
   172 
   178 
   173 
   179 class DebugVariablePanel(wx.Panel, DebugViewer):
   174 class DebugVariablePanel(wx.Panel, DebugViewer):
   180     """
   175     """
   181     Class that implements a Viewer that display variable values as a graphs
   176     Class that implements a Viewer that display variable values as a graphs