(self, additional_message='')
| 12618 | return self.read(*args, **kwargs) |
| 12619 | |
| 12620 | def _is_window_created(self, additional_message=''): |
| 12621 | msg = str(additional_message) |
| 12622 | if self.TKroot is None: |
| 12623 | warnings.warn( |
| 12624 | 'You cannot perform operations on a Window until it is read or finalized. Adding a "finalize=True" parameter to your Window creation will fix this. ' + msg, |
| 12625 | UserWarning) |
| 12626 | if not SUPPRESS_ERROR_POPUPS: |
| 12627 | _error_popup_with_traceback('You cannot perform operations on a Window until it is read or finalized.', |
| 12628 | 'Adding a "finalize=True" parameter to your Window creation will likely fix this', msg) |
| 12629 | return False |
| 12630 | return True |
| 12631 | |
| 12632 | def _has_custom_titlebar_element(self): |
| 12633 | for elem in self.AllKeysDict.values(): |
no test coverage detected