Lines Matching +defs:block +defs:close
90 import winreg # Windows only, block only executed once.
154 self.top.protocol("WM_DELETE_WINDOW", self.close)
155 self.top.bind("<<close-window>>", self.close_event)
158 text.bind('<<close-window>>', self.close_event)
215 text.bind("<<close-all-windows>>", self.flist.close_all_callback)
589 ("Close", "<<close-window>>", None), # Example
1110 self.close()
1122 def close(self):
1128 except AttributeError: # bpo-35379: close called twice
1136 self.io.close()
1140 self.color.close()
1144 self.per.close()
1157 if hasattr(ins, "close"):
1158 ins.close()
1417 is a shell prompt, is empty, has selected text, contains a block
1418 opener, contains a block closer, is a continuation line, or
1424 try: # Close undo block and expose new line in finally clause.
1457 # Adjust indentation for continuations and block open/close.
1642 """Return 2 lines containing block opener and and indent.
1734 # error if close master window first - timer event, after script
1747 # text.bind("<<close-all-windows>>", edit.close_event)
1749 # edit.text.bind("<<close-window>>", edit.close_event)