#-*-coding:utf-8-*- #Python 3.3/Tkinter class DragDrop: def move(self,objW,objH): c = self.winfo_pointerxy() xy = str(c).replace('(','').replace(')','').replace(' ','').replace(',','+') self.geometry(str(objW)+"x"+str(objH)+"+"+str(xy)) self.update() Пример использования import tkinter root = Tk() root.geometry("100x100+0+0") root.overrideredirect(1) def _drag(): DragDrop.move(root,100,100) root.bind("<Button1-Motion>",_drag)