MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / _grab_anywhere_off

Method _grab_anywhere_off

PySimpleGUI/PySimpleGUI.py:1775–1782  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

1773 self.Widget.bind("<B1-Motion>", self.ParentForm._OnMotion)
1774
1775 def _grab_anywhere_off(self):
1776 """
1777 Turns off Grab Anywhere functionality AFTER a window has been created. Don't try on a window that's not yet
1778 been Finalized or Read.
1779 """
1780 self.Widget.unbind("<ButtonPress-1>")
1781 self.Widget.unbind("<ButtonRelease-1>")
1782 self.Widget.unbind("<B1-Motion>")
1783
1784 def grab_anywhere_exclude(self):
1785 """

Callers

nothing calls this directly

Calls 1

unbindMethod · 0.45

Tested by

no test coverage detected