Dear reader,
I have a question. I'm working on a simple text and numeric editor and for that I use a Tk window. When I close that window and start my program again the window is placed a little to the lower and right. This continues until one of the windows in a row reaches a certain point near the middle of the screen. Then the next window is placed at the upper left corner of the screen.
I have tried this: wm geometry . 20x50+0+0
I thought this would mean height-width-xcoordinate-ycoordinate. But the windows still keep following eachother up as they "walk" to the center and start again from the upper left corner.
I hope this is all clear and that someone has an idea. It would be very welcome.
Greets
Dirk-Jan (BioDJ)
I have a question. I'm working on a simple text and numeric editor and for that I use a Tk window. When I close that window and start my program again the window is placed a little to the lower and right. This continues until one of the windows in a row reaches a certain point near the middle of the screen. Then the next window is placed at the upper left corner of the screen.
I have tried this: wm geometry . 20x50+0+0
I thought this would mean height-width-xcoordinate-ycoordinate. But the windows still keep following eachother up as they "walk" to the center and start again from the upper left corner.
I hope this is all clear and that someone has an idea. It would be very welcome.
Greets
Dirk-Jan (BioDJ)