{"action":"opened","issue":{"url":"https://api.github.com/repos/ipython/ipywidgets/issues/708","repository_url":"https://api.github.com/repos/ipython/ipywidgets","labels_url":"https://api.github.com/repos/ipython/ipywidgets/issues/708/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipywidgets/issues/708/comments","events_url":"https://api.github.com/repos/ipython/ipywidgets/issues/708/events","html_url":"https://github.com/ipython/ipywidgets/issues/708","id":170702104,"number":708,"title":"nothing happends when send(msg) is triggered from frontend","user":{"login":"damlatien","id":13075748,"avatar_url":"https://avatars.githubusercontent.com/u/13075748?v=3","gravatar_id":"","url":"https://api.github.com/users/damlatien","html_url":"https://github.com/damlatien","followers_url":"https://api.github.com/users/damlatien/followers","following_url":"https://api.github.com/users/damlatien/following{/other_user}","gists_url":"https://api.github.com/users/damlatien/gists{/gist_id}","starred_url":"https://api.github.com/users/damlatien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damlatien/subscriptions","organizations_url":"https://api.github.com/users/damlatien/orgs","repos_url":"https://api.github.com/users/damlatien/repos","events_url":"https://api.github.com/users/damlatien/events{/privacy}","received_events_url":"https://api.github.com/users/damlatien/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-11T17:36:03Z","updated_at":"2016-08-11T17:36:03Z","closed_at":null,"body":"I am trying to make the following example work : \r\n```python\r\nfrom ipywidgets import Button\r\nfrom IPython.display import display\r\n\r\ndef on_button_clicked(b):\r\n    print(\"Button clicked.\")\r\nbutton = Button()\r\nbutton.on_click(on_button_clicked)\r\ndisplay(button)\r\n```\r\n\r\nthen the following : \r\n```python\r\nbutton.send({'event':'click'})\r\n```\r\ndoesn't trigger the event as I would (maybe naively) expect. \r\n\r\nCould someone explain please ?"}}
{"actor":{"display_login":"damlatien"}}