本文整理汇总了Python中chimera.baseDialog.ModelessDialog.destroy方法的典型用法代码示例。如果您正苦于以下问题:Python ModelessDialog.destroy方法的具体用法?Python ModelessDialog.destroy怎么用?Python ModelessDialog.destroy使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类chimera.baseDialog.ModelessDialog
的用法示例。
在下文中一共展示了ModelessDialog.destroy方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
self.mainDialog = None
if self.readScriptDialog:
self.readScriptDialog.destroy()
if self.saveDialog:
self.saveDialog.destroy()
ModelessDialog.destroy(self)
示例2: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
self.mav.triggers.deleteHandler(ADD_ASSOC,
self.addAssocHandlerID)
self.mav.triggers.deleteHandler(DEL_ASSOC,
self.delAssocHandlerID)
self.mav = None
chimera.openModels.deleteAddHandler(self.addHandlerID)
chimera.openModels.deleteRemoveHandler(self.removeHandlerID)
ModelessDialog.destroy(self)
示例3: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
self.regionListing.hlist._widgetCache.clear()
self.seqCanvas.mav.triggers.deleteHandler(DEL_ASSOC,
self.delAssocHandlerID)
if hasattr(self,'_selChangeHandler') and self._selChangeHandler:
chimera.triggers.deleteHandler("selection changed",
self._selChangeHandler)
if self._scfDialog:
self._scfDialog.destroy()
self._scfDialog = None
for rd in self.renameDialogs.values():
rd.destroy()
self.renameDialogs.clear()
ModelessDialog.destroy(self)
示例4: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
chimera.extension.manager.deregisterInstance(self)
ModelessDialog.destroy(self)
示例5: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
self.rotDialog = None
ModelessDialog.destroy(self)
示例6: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
self.mav.triggers.deleteHandler(MOD_ALIGN, self.handlerID)
self.mav = None
ModelessDialog.destroy(self)
示例7: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
self.item = None
self.geomUI = None
ModelessDialog.destroy(self)
示例8: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
self.noteDialog = None
ModelessDialog.destroy(self)
示例9: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
# calling ModelessDialog.Close causes recursion
ModelessDialog.destroy(self)
示例10: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
self.rotDialog = None
if hasattr(self, 'groupName'):
from Rotamers import nukeGroup
nukeGroup(self.groupName)
ModelessDialog.destroy(self)
示例11: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
self.mav = None
from chimera.baseDialog import ModelessDialog
ModelessDialog.destroy(self)
示例12: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
while self.dependentDialogs:
self.dependentDialogs[0].Close()
# calling ModelessDialog.Close causes recursion
ModelessDialog.destroy(self)
示例13: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
self.rotDialog = None
if prefs[CLASH_PBS]:
from DetectClash import nukeGroup
nukeGroup()
ModelessDialog.destroy(self)
示例14: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
self.mav.triggers.deleteHandler(ADDDEL_SEQS, self.handlerID)
self.mav = None
ModelessDialog.destroy(self)
示例15: destroy
# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
def destroy(self):
self.mav.triggers.deleteHandler(MOD_ASSOC, self.assocHandlerID)
self.mav = None
ModelessDialog.destroy(self)