python - How to get multiple widows to appear in a slightly different position? -
i have program stores information books, , information shown in windows, appear whenever double-click book title in list. there possibility of searching book using it's title or author, , can make program open multiple windows. problem is, windows opened 1 on other, and, until move window, or close it, seems 1 window opened. possible to, python , tkinter, make windows appear in different positions?
you can use geometry
method of window specify want appear. example, w.geometry("+100+200")
open window w
@ coordinate 100,200. each time open new window, adjust coordinates appropriately.
normally, though, window manager you. it's odd it's not doing you.
the geometry
method documented here, among other places: http://effbot.org/tkinterbook/wm.htm#tkinter.wm.geometry-method
Comments
Post a Comment