Jul-05-2018, 08:15 AM
Because of the position information was printed before mainloop is running, the value you get is initially "1x1+0+0'. You have to do self.update_idletasks() before using geometry() to get the correct value.
self.update_idletasks()
self.geo = .....
self.update_idletasks()
self.geo = .....