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:
parent
30f964f6a9
commit
630f321fa3
3 changed files with 17 additions and 10 deletions
|
@ -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 ):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue