{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipywidgets/issues/576","repository_url":"https://api.github.com/repos/ipython/ipywidgets","labels_url":"https://api.github.com/repos/ipython/ipywidgets/issues/576/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipywidgets/issues/576/comments","events_url":"https://api.github.com/repos/ipython/ipywidgets/issues/576/events","html_url":"https://github.com/ipython/ipywidgets/issues/576","id":154225296,"number":576,"title":"Should HBox / VBox be classes instead of functions?","user":{"login":"izaid","id":482179,"avatar_url":"https://avatars.githubusercontent.com/u/482179?v=3","gravatar_id":"","url":"https://api.github.com/users/izaid","html_url":"https://github.com/izaid","followers_url":"https://api.github.com/users/izaid/followers","following_url":"https://api.github.com/users/izaid/following{/other_user}","gists_url":"https://api.github.com/users/izaid/gists{/gist_id}","starred_url":"https://api.github.com/users/izaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izaid/subscriptions","organizations_url":"https://api.github.com/users/izaid/orgs","repos_url":"https://api.github.com/users/izaid/repos","events_url":"https://api.github.com/users/izaid/events{/privacy}","received_events_url":"https://api.github.com/users/izaid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-05-11T11:54:44Z","updated_at":"2016-08-26T09:10:52Z","closed_at":"2016-06-26T02:46:38Z","body":"I've been writing some custom widgets, which are largely simple classes that subclass from some other existing IPython widget. These mostly reuse the existing widgets, and the classes are for communication and saving state.\r\n\r\nWhat confused me is that the HBox and VBox are not classes themselves, but functions. This meant when I tried to inherit from them, I was getting weird errors until I realized it was Box that I had to inherit from. Why don't we make HBox and VBox simple classes that inherit from Box? Or is there a reason not to do this?"},"comment":{"url":"https://api.github.com/repos/ipython/ipywidgets/issues/comments/242674929","html_url":"https://github.com/ipython/ipywidgets/issues/576#issuecomment-242674929","issue_url":"https://api.github.com/repos/ipython/ipywidgets/issues/576","id":242674929,"user":{"login":"SylvainCorlay","id":2397974,"avatar_url":"https://avatars.githubusercontent.com/u/2397974?v=3","gravatar_id":"","url":"https://api.github.com/users/SylvainCorlay","html_url":"https://github.com/SylvainCorlay","followers_url":"https://api.github.com/users/SylvainCorlay/followers","following_url":"https://api.github.com/users/SylvainCorlay/following{/other_user}","gists_url":"https://api.github.com/users/SylvainCorlay/gists{/gist_id}","starred_url":"https://api.github.com/users/SylvainCorlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SylvainCorlay/subscriptions","organizations_url":"https://api.github.com/users/SylvainCorlay/orgs","repos_url":"https://api.github.com/users/SylvainCorlay/repos","events_url":"https://api.github.com/users/SylvainCorlay/events{/privacy}","received_events_url":"https://api.github.com/users/SylvainCorlay/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T09:10:52Z","updated_at":"2016-08-26T09:10:52Z","body":"Grumbles"}}
{"actor":{"display_login":"SylvainCorlay"}}