The internal close call that does the real work of building. This method basically sets up for closing but doesn't destroy the window like the User's version of Close does :parm without_event: if True, then do not cause an event to be generated, "silently" close the window
(self, without_event=False)
| 11528 | |
| 11529 | |
| 11530 | def _Close(self, without_event=False): |
| 11531 | """ |
| 11532 | The internal close call that does the real work of building. This method basically sets up for closing |
| 11533 | but doesn't destroy the window like the User's version of Close does |
| 11534 | |
| 11535 | :parm without_event: if True, then do not cause an event to be generated, "silently" close the window |
| 11536 | :type without_event: (bool) |
| 11537 | """ |
| 11538 | |
| 11539 | try: |
| 11540 | self.TKroot.update() |
| 11541 | except: |
| 11542 | pass |
| 11543 | |
| 11544 | if not self.NonBlocking or not without_event: |
| 11545 | _BuildResults(self, False, self) |
| 11546 | if self.TKrootDestroyed: |
| 11547 | return |
| 11548 | self.TKrootDestroyed = True |
| 11549 | self.RootNeedsDestroying = True |
| 11550 | return |
| 11551 | |
| 11552 | def close(self): |
| 11553 | """ |
no test coverage detected