本文整理汇总了Python中ij.WindowManager.removeWindow方法的典型用法代码示例。如果您正苦于以下问题:Python WindowManager.removeWindow方法的具体用法?Python WindowManager.removeWindow怎么用?Python WindowManager.removeWindow使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ij.WindowManager
的用法示例。
在下文中一共展示了WindowManager.removeWindow方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: close
# 需要导入模块: from ij import WindowManager [as 别名]
# 或者: from ij.WindowManager import removeWindow [as 别名]
def close(self):
if self.olay != None:
yncd = YesNoCancelDialog(self.frame, "Save overlay?", "Save overlay?") #frame, title, message
if yncd.yesPressed():
self.saveOverlay()
WindowManager.removeWindow(self.frame)
self.frame.dispose()
示例2: quit
# 需要导入模块: from ij import WindowManager [as 别名]
# 或者: from ij.WindowManager import removeWindow [as 别名]
def quit(event):
try:
meas.closeWindows()
finally:
WindowManager.removeWindow(mF.frame)
mF.frame.dispose()
示例3: close
# 需要导入模块: from ij import WindowManager [as 别名]
# 或者: from ij.WindowManager import removeWindow [as 别名]
def close():
WindowManager.removeWindow(self.frame)
self.frame.dispose()
示例4: closeWindows
# 需要导入模块: from ij import WindowManager [as 别名]
# 或者: from ij.WindowManager import removeWindow [as 别名]
def closeWindows(self):
self.imp.close()
WindowManager.removeWindow(self.window)
self.window.dispose()
示例5: quit
# 需要导入模块: from ij import WindowManager [as 别名]
# 或者: from ij.WindowManager import removeWindow [as 别名]
def quit(self, event):
try:
self.cT.closeWindows()
finally:
WindowManager.removeWindow(self)
self.dispose()