diff --git a/PySimpleGUI.py b/PySimpleGUI.py index ed36ed70..fd7dc235 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -4213,6 +4213,16 @@ class Window: except: print('Transparent color not supported on this platform (windows only)') + def GrabAnyWhereOn(self): + self.TKroot.bind("", self.StartMove) + self.TKroot.bind("", self.StopMove) + self.TKroot.bind("", self.OnMotion) + + def GrabAnyWhereOff(self): + self.TKroot.unbind("") + self.TKroot.unbind("") + self.TKroot.unbind("") + def __enter__(self): return self