{"action":"opened","issue":{"url":"https://api.github.com/repos/LeoTindall/libui-rs/issues/26","repository_url":"https://api.github.com/repos/LeoTindall/libui-rs","labels_url":"https://api.github.com/repos/LeoTindall/libui-rs/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/LeoTindall/libui-rs/issues/26/comments","events_url":"https://api.github.com/repos/LeoTindall/libui-rs/issues/26/events","html_url":"https://github.com/LeoTindall/libui-rs/issues/26","id":332529474,"node_id":"MDU6SXNzdWUzMzI1Mjk0NzQ=","number":26,"title":"Convenience methods to add multiple children to layouts, etc","user":{"login":"LeoTindall","id":3290365,"node_id":"MDQ6VXNlcjMyOTAzNjU=","avatar_url":"https://avatars0.githubusercontent.com/u/3290365?v=4","gravatar_id":"","url":"https://api.github.com/users/LeoTindall","html_url":"https://github.com/LeoTindall","followers_url":"https://api.github.com/users/LeoTindall/followers","following_url":"https://api.github.com/users/LeoTindall/following{/other_user}","gists_url":"https://api.github.com/users/LeoTindall/gists{/gist_id}","starred_url":"https://api.github.com/users/LeoTindall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeoTindall/subscriptions","organizations_url":"https://api.github.com/users/LeoTindall/orgs","repos_url":"https://api.github.com/users/LeoTindall/repos","events_url":"https://api.github.com/users/LeoTindall/events{/privacy}","received_events_url":"https://api.github.com/users/LeoTindall/received_events","type":"User","site_admin":false},"labels":[{"id":799946137,"node_id":"MDU6TGFiZWw3OTk5NDYxMzc=","url":"https://api.github.com/repos/LeoTindall/libui-rs/labels/c-enhancement","name":"c-enhancement","color":"d93f0b","default":false},{"id":875413659,"node_id":"MDU6TGFiZWw4NzU0MTM2NTk=","url":"https://api.github.com/repos/LeoTindall/libui-rs/labels/p-low","name":"p-low","color":"b60205","default":false},{"id":799946139,"node_id":"MDU6TGFiZWw3OTk5NDYxMzk=","url":"https://api.github.com/repos/LeoTindall/libui-rs/labels/x-good%20first%20issue","name":"x-good first issue","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-14T19:14:25Z","updated_at":"2018-06-14T19:14:25Z","closed_at":null,"author_association":"OWNER","body":"Several controls, especially `Group` and `{Vertical, Horizontal}Box`, could be much more ergonomic to use if they provided an interface looking something like the following:\r\n\r\n```rust\r\nfn add_all(&mut self, ctx: &UI, children: Vec<Control>)\r\n```\r\n\r\nThese are of course not precisely the correct types, but the general shape of the interface is correct. Adding many children is a pain, and this would make it easier.\r\n\r\nBonus points if it takes `impl Iterator<Item=Control>` or similar."}}
{"actor":{"display_login":"LeoTindall"}}