What I am trying to do is two fold. I want the window to have a default location and size when the addon is first installed. After that when the user moves or resizes the window, I want the window to save its size and location to a file so that the next time the user runs the game the window is in the same place and the same size that they left it in.
I tried your code and it does it still resets to 100 x 100 when I hit reload in plugin manager.
I have to go to work now, but I will keep hammering away at it tomorrow.
Thanks for all your help.
|