Fix for *args crash in python 3.4. Had no idea was broken. OpenCV window sizing, Fix for tables in cookbook

This commit is contained in:
MikeTheWatchGuy 2018-09-06 21:30:26 -04:00
parent 30f964f6a9
commit 630f321fa3
3 changed files with 17 additions and 10 deletions

View file

@ -1646,11 +1646,14 @@ class FlexForm:
self.TKroot.y = None
def OnMotion(self, event):
deltax = event.x - self.TKroot.x
deltay = event.y - self.TKroot.y
x = self.TKroot.winfo_x() + deltax
y = self.TKroot.winfo_y() + deltay
self.TKroot.geometry("+%s+%s" % (x, y))
try:
deltax = event.x - self.TKroot.x
deltay = event.y - self.TKroot.y
x = self.TKroot.winfo_x() + deltax
y = self.TKroot.winfo_y() + deltay
self.TKroot.geometry("+%s+%s" % (x, y))
except:
pass
def _KeyboardCallback(self, event ):