Python Graphics library: How to set the x and y coordinates of the window? Python Graphics library: How to set the x and y coordinates of the window? tkinter tkinter

Python Graphics library: How to set the x and y coordinates of the window?


GraphWin is in fact a tkinter Canvas.Therefore you can use the same method thanHow to specify where a Tkinter window opens?

from graphics import GraphWinwinmap2 = GraphWin("Details", 200, 200)winmap2.setBackground("Black")x = 200y = 100winmap2.master.geometry('%dx%d+%d+%d' % (200, 200, x, y))winmap2.mainloop()