{"action":"created","issue":{"url":"https://api.github.com/repos/kivy/kivy/issues/3799","labels_url":"https://api.github.com/repos/kivy/kivy/issues/3799/labels{/name}","comments_url":"https://api.github.com/repos/kivy/kivy/issues/3799/comments","events_url":"https://api.github.com/repos/kivy/kivy/issues/3799/events","html_url":"https://github.com/kivy/kivy/issues/3799","id":118595501,"number":3799,"title":"Unable to get Window Position w/ WindowSDL2?","user":{"login":"lhl","id":2581,"avatar_url":"https://avatars.githubusercontent.com/u/2581?v=3","gravatar_id":"","url":"https://api.github.com/users/lhl","html_url":"https://github.com/lhl","followers_url":"https://api.github.com/users/lhl/followers","following_url":"https://api.github.com/users/lhl/following{/other_user}","gists_url":"https://api.github.com/users/lhl/gists{/gist_id}","starred_url":"https://api.github.com/users/lhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhl/subscriptions","organizations_url":"https://api.github.com/users/lhl/orgs","repos_url":"https://api.github.com/users/lhl/repos","events_url":"https://api.github.com/users/lhl/events{/privacy}","received_events_url":"https://api.github.com/users/lhl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kivy/kivy/labels/core","name":"core","color":"444444"},{"url":"https://api.github.com/repos/kivy/kivy/labels/sdl2","name":"sdl2","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T12:10:18Z","updated_at":"2015-12-04T15:02:00Z","closed_at":null,"body":"Kivy doesn't seem to support getting the Window position (I'd like to save the final window position so I can open it back up at the same location).  I see that SDL has a [SDL_GetWindowPosition()](https://wiki.libsdl.org/SDL_GetWindowPosition) function - is that something that might be added to the WindowSDL2 class? (it looks like it'd need to be added to _window_sdl2.pyx since it needs to talk to the _WindowSDL2Storage win?)\r\n\r\nI can probably submit a pull request, but figured I'd find out what the preferred method naming/way to add this (it looks like getting Window position is applicable to most of the backends?)"},"comment":{"url":"https://api.github.com/repos/kivy/kivy/issues/comments/161987910","html_url":"https://github.com/kivy/kivy/issues/3799#issuecomment-161987910","issue_url":"https://api.github.com/repos/kivy/kivy/issues/3799","id":161987910,"user":{"login":"dessant","id":7513068,"avatar_url":"https://avatars.githubusercontent.com/u/7513068?v=3","gravatar_id":"","url":"https://api.github.com/users/dessant","html_url":"https://github.com/dessant","followers_url":"https://api.github.com/users/dessant/followers","following_url":"https://api.github.com/users/dessant/following{/other_user}","gists_url":"https://api.github.com/users/dessant/gists{/gist_id}","starred_url":"https://api.github.com/users/dessant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dessant/subscriptions","organizations_url":"https://api.github.com/users/dessant/orgs","repos_url":"https://api.github.com/users/dessant/repos","events_url":"https://api.github.com/users/dessant/events{/privacy}","received_events_url":"https://api.github.com/users/dessant/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T15:02:00Z","updated_at":"2015-12-04T15:02:00Z","body":"`Window.pos` for getting and setting would be good. You could use Window.size as a template for implementation. This would mean that `Window.pos`, `Window.x` and `Window.y` would be added to the api."}}