{"action":"created","issue":{"url":"https://api.github.com/repos/rust-gnome/gtk/issues/104","labels_url":"https://api.github.com/repos/rust-gnome/gtk/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/rust-gnome/gtk/issues/104/comments","events_url":"https://api.github.com/repos/rust-gnome/gtk/issues/104/events","html_url":"https://github.com/rust-gnome/gtk/pull/104","id":88585362,"number":104,"title":"Add CSS styling support","user":{"login":"gsingh93","id":1012677,"avatar_url":"https://avatars.githubusercontent.com/u/1012677?v=3","gravatar_id":"","url":"https://api.github.com/users/gsingh93","html_url":"https://github.com/gsingh93","followers_url":"https://api.github.com/users/gsingh93/followers","following_url":"https://api.github.com/users/gsingh93/following{/other_user}","gists_url":"https://api.github.com/users/gsingh93/gists{/gist_id}","starred_url":"https://api.github.com/users/gsingh93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsingh93/subscriptions","organizations_url":"https://api.github.com/users/gsingh93/orgs","repos_url":"https://api.github.com/users/gsingh93/repos","events_url":"https://api.github.com/users/gsingh93/events{/privacy}","received_events_url":"https://api.github.com/users/gsingh93/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-06-16T01:32:12Z","updated_at":"2015-06-18T09:29:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-gnome/gtk/pulls/104","html_url":"https://github.com/rust-gnome/gtk/pull/104","diff_url":"https://github.com/rust-gnome/gtk/pull/104.diff","patch_url":"https://github.com/rust-gnome/gtk/pull/104.patch"},"body":"This PR adds CSS styling support by implementing `CssProvider`, `StyleProvider`, and `StyleContext`. An approach similar to that used with `WidgetTrait` was taken. `get_screen` is also implemented for `WidgetTrait` so this screen can be used with `StyleContext::add_provider_for_screen`.\r\n\r\nThere are some TODOs in the code for adding the proper `#![feature]` attributes. The Gtk documentation doesn't give this number for every method/class, and I think this is due to a lack of documentation, not the fact that the method/class was introduced before gtk3. How should I find these feature numbers?"},"comment":{"url":"https://api.github.com/repos/rust-gnome/gtk/issues/comments/113089503","html_url":"https://github.com/rust-gnome/gtk/pull/104#issuecomment-113089503","issue_url":"https://api.github.com/repos/rust-gnome/gtk/issues/104","id":113089503,"user":{"login":"gkoz","id":4260361,"avatar_url":"https://avatars.githubusercontent.com/u/4260361?v=3","gravatar_id":"","url":"https://api.github.com/users/gkoz","html_url":"https://github.com/gkoz","followers_url":"https://api.github.com/users/gkoz/followers","following_url":"https://api.github.com/users/gkoz/following{/other_user}","gists_url":"https://api.github.com/users/gkoz/gists{/gist_id}","starred_url":"https://api.github.com/users/gkoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkoz/subscriptions","organizations_url":"https://api.github.com/users/gkoz/orgs","repos_url":"https://api.github.com/users/gkoz/repos","events_url":"https://api.github.com/users/gkoz/events{/privacy}","received_events_url":"https://api.github.com/users/gkoz/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T09:29:16Z","updated_at":"2015-06-18T09:29:16Z","body":":+1: \r\n@GuillaumeGomez "}}