当前位置: 首页>>代码示例>>Python>>正文


Python ModelessDialog.destroy方法代码示例

本文整理汇总了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)
开发者ID:davem22101,项目名称:semanticscience,代码行数:9,代码来源:gui.py

示例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)
开发者ID:davem22101,项目名称:semanticscience,代码行数:11,代码来源:AssociationsDialog.py

示例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)
开发者ID:davem22101,项目名称:semanticscience,代码行数:16,代码来源:RegionBrowser.py

示例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)
开发者ID:davem22101,项目名称:semanticscience,代码行数:5,代码来源:emdb_search.py

示例5: destroy

# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
	def destroy(self):
		self.rotDialog = None
		ModelessDialog.destroy(self)
开发者ID:davem22101,项目名称:semanticscience,代码行数:5,代码来源:VolumeDialog.py

示例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)
开发者ID:davem22101,项目名称:semanticscience,代码行数:6,代码来源:NumberingsDialog.py

示例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)
开发者ID:davem22101,项目名称:semanticscience,代码行数:6,代码来源:Geometry.py

示例8: destroy

# 需要导入模块: from chimera.baseDialog import ModelessDialog [as 别名]
# 或者: from chimera.baseDialog.ModelessDialog import destroy [as 别名]
				def destroy(self):
					self.noteDialog = None
					ModelessDialog.destroy(self)
开发者ID:davem22101,项目名称:semanticscience,代码行数:5,代码来源:AttrDialog.py

示例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)
开发者ID:davem22101,项目名称:semanticscience,代码行数:5,代码来源:Cluster.py

示例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)
开发者ID:davem22101,项目名称:semanticscience,代码行数:8,代码来源:HbondDialog.py

示例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)
开发者ID:davem22101,项目名称:semanticscience,代码行数:6,代码来源:parsePhylo.py

示例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)
开发者ID:davem22101,项目名称:semanticscience,代码行数:7,代码来源:RmsdMap.py

示例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)
开发者ID:davem22101,项目名称:semanticscience,代码行数:8,代码来源:ClashDialog.py

示例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)
开发者ID:davem22101,项目名称:semanticscience,代码行数:6,代码来源:BlastPdbDialog.py

示例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)
开发者ID:davem22101,项目名称:semanticscience,代码行数:6,代码来源:AlignDialog.py


注:本文中的chimera.baseDialog.ModelessDialog.destroy方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。