Turns off Grab Anywhere functionality AFTER a window has been created. Don't try on a window that's not yet been Finalized or Read.
(self)
| 11989 | self.TKroot.bind("<B1-Motion>", self._OnMotionGrabAnywhere) |
| 11990 | |
| 11991 | def grab_any_where_off(self): |
| 11992 | """ |
| 11993 | Turns off Grab Anywhere functionality AFTER a window has been created. Don't try on a window that's not yet |
| 11994 | been Finalized or Read. |
| 11995 | """ |
| 11996 | if not self._is_window_created('tried Window.grab_any_where_off'): |
| 11997 | return |
| 11998 | self.TKroot.unbind("<ButtonPress-1>") |
| 11999 | self.TKroot.unbind("<ButtonRelease-1>") |
| 12000 | self.TKroot.unbind("<B1-Motion>") |
| 12001 | |
| 12002 | def _user_bind_callback(self, bind_string, event, propagate=True): |
| 12003 | """ |
nothing calls this directly
no test coverage detected