示例#1
1
文件: view.py 项目: shumik/skencil-c
    def destroy(self):
        self.unsubscribe_doc()
	PyWidget.destroy(self)
	QueueingPublisher.Destroy(self)
示例#2
0
 def destroy(self):
     PyWidget.destroy(self)
     self.canvas = None
示例#3
0
 def DestroyMethod(self):
     # make sure that gc is deleted. gc may have a shared memory ximage
     # which is not freed if the gc is not destroyed leaving unused shared
     # memory segments in the system even after the process has finished.
     self.gc = None
     PyWidget.DestroyMethod(self)
示例#4
0
 def destroy(self):
     self.unsubscribe_doc()
     PyWidget.destroy(self)
     QueueingPublisher.Destroy(self)
示例#5
0
文件: ruler.py 项目: shumik/skencil-c
    def destroy(self):
	PyWidget.destroy(self)
        self.canvas = None
示例#6
0
 def DestroyMethod(self):
     if self.context_menu is not None:
         self.context_menu.clean_up()
     self.context_menu = None
     PyWidget.DestroyMethod(self)
示例#7
0
 def UpdateWhenIdle(self):
     if not self.update_pending:
         self.update_pending = 1
         PyWidget.UpdateWhenIdle(self)