{"action":"opened","issue":{"url":"https://api.github.com/repos/WebReflection/node-gtk/issues/29","repository_url":"https://api.github.com/repos/WebReflection/node-gtk","labels_url":"https://api.github.com/repos/WebReflection/node-gtk/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/WebReflection/node-gtk/issues/29/comments","events_url":"https://api.github.com/repos/WebReflection/node-gtk/issues/29/events","html_url":"https://github.com/WebReflection/node-gtk/issues/29","id":167629978,"number":29,"title":"Getting window size","user":{"login":"Arood","id":81745,"avatar_url":"https://avatars.githubusercontent.com/u/81745?v=3","gravatar_id":"","url":"https://api.github.com/users/Arood","html_url":"https://github.com/Arood","followers_url":"https://api.github.com/users/Arood/followers","following_url":"https://api.github.com/users/Arood/following{/other_user}","gists_url":"https://api.github.com/users/Arood/gists{/gist_id}","starred_url":"https://api.github.com/users/Arood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arood/subscriptions","organizations_url":"https://api.github.com/users/Arood/orgs","repos_url":"https://api.github.com/users/Arood/repos","events_url":"https://api.github.com/users/Arood/events{/privacy}","received_events_url":"https://api.github.com/users/Arood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-26T15:01:28Z","updated_at":"2016-07-26T15:01:28Z","closed_at":null,"body":"Hello!\r\n\r\nI've tried this library and it seems to work for the most part! I'm having some trouble though that I hope someone can guide me with. I'm trying to figure out the size of a GtkWindow when a user resizes it. I found a signal that works, 'check-resize', but I can't figure out how to get the actual size of the window.\r\n\r\nIt seems like GTK isn't tracking this by itself, but via GDK, so it seems like the easiest way would normally be using the `get_allocation` method and then read width and height from there. However, it seems like I can't get this from node-gtk.\r\n\r\nOf course, get_request_size doesn't work since it's not the actual size of the window.\r\n\r\nDoes anyone have any suggestions for how I can access the size in node-gtk?"}}
{"actor":{"display_login":"Arood"}}