controls/DebugVariablePanel/GraphButton.py
branchpython3
changeset 3765 88fe6fc9fd38
parent 3750 f62625418bff
equal deleted inserted replaced
3764:d92c1a3dafa7 3765:88fe6fc9fd38
    55         self.Shown = False
    55         self.Shown = False
    56         self.Enabled = True
    56         self.Enabled = True
    57 
    57 
    58         # Save reference to callback function
    58         # Save reference to callback function
    59         self.Callback = callback
    59         self.Callback = callback
    60 
       
    61     def __del__(self):
       
    62         """
       
    63         Destructor
       
    64         """
       
    65         # Remove reference to callback function
       
    66         self.callback = None
       
    67 
    60 
    68     def SetBitmap(self, bitmap):
    61     def SetBitmap(self, bitmap):
    69         """
    62         """
    70         Set bitmap to use for button
    63         Set bitmap to use for button
    71         @param bitmap: Name of bitmap to use for button
    64         @param bitmap: Name of bitmap to use for button