{"action":"created","issue":{"url":"https://api.github.com/repos/redox-os/orbtk/issues/16","repository_url":"https://api.github.com/repos/redox-os/orbtk","labels_url":"https://api.github.com/repos/redox-os/orbtk/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/redox-os/orbtk/issues/16/comments","events_url":"https://api.github.com/repos/redox-os/orbtk/issues/16/events","html_url":"https://github.com/redox-os/orbtk/pull/16","id":141749190,"number":16,"title":"(WIP) Implementing Menus","user":{"login":"stratact","id":13501315,"avatar_url":"https://avatars.githubusercontent.com/u/13501315?v=3","gravatar_id":"","url":"https://api.github.com/users/stratact","html_url":"https://github.com/stratact","followers_url":"https://api.github.com/users/stratact/followers","following_url":"https://api.github.com/users/stratact/following{/other_user}","gists_url":"https://api.github.com/users/stratact/gists{/gist_id}","starred_url":"https://api.github.com/users/stratact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stratact/subscriptions","organizations_url":"https://api.github.com/users/stratact/orgs","repos_url":"https://api.github.com/users/stratact/repos","events_url":"https://api.github.com/users/stratact/events{/privacy}","received_events_url":"https://api.github.com/users/stratact/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-18T01:34:28Z","updated_at":"2016-03-18T02:28:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/redox-os/orbtk/pulls/16","html_url":"https://github.com/redox-os/orbtk/pull/16","diff_url":"https://github.com/redox-os/orbtk/pull/16.diff","patch_url":"https://github.com/redox-os/orbtk/pull/16.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/redox-os/orbtk/issues/comments/198167904","html_url":"https://github.com/redox-os/orbtk/pull/16#issuecomment-198167904","issue_url":"https://api.github.com/repos/redox-os/orbtk/issues/16","id":198167904,"user":{"login":"LazyOxen","id":11640887,"avatar_url":"https://avatars.githubusercontent.com/u/11640887?v=3","gravatar_id":"","url":"https://api.github.com/users/LazyOxen","html_url":"https://github.com/LazyOxen","followers_url":"https://api.github.com/users/LazyOxen/followers","following_url":"https://api.github.com/users/LazyOxen/following{/other_user}","gists_url":"https://api.github.com/users/LazyOxen/gists{/gist_id}","starred_url":"https://api.github.com/users/LazyOxen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LazyOxen/subscriptions","organizations_url":"https://api.github.com/users/LazyOxen/orgs","repos_url":"https://api.github.com/users/LazyOxen/repos","events_url":"https://api.github.com/users/LazyOxen/events{/privacy}","received_events_url":"https://api.github.com/users/LazyOxen/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T02:28:24Z","updated_at":"2016-03-18T02:28:24Z","body":"Is there any reason not to have a Vec of some MenuItem type that holds a Widget trait object + a callback instead of Action objects? I think that would provide a lot of flexibility (maybe too much?). I suppose the main question would be whether or not arbitrary Widgets in a context menu is something we would want. Also, would there be significant overhead from dynamic dispatch?"}}