{"action":"opened","issue":{"url":"https://api.github.com/repos/gotk3/gotk3/issues/149","repository_url":"https://api.github.com/repos/gotk3/gotk3","labels_url":"https://api.github.com/repos/gotk3/gotk3/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/gotk3/gotk3/issues/149/comments","events_url":"https://api.github.com/repos/gotk3/gotk3/issues/149/events","html_url":"https://github.com/gotk3/gotk3/issues/149","id":193842603,"number":149,"title":"How to pass data to the handler?","user":{"login":"nexcode","id":10132325,"avatar_url":"https://avatars.githubusercontent.com/u/10132325?v=3","gravatar_id":"","url":"https://api.github.com/users/nexcode","html_url":"https://github.com/nexcode","followers_url":"https://api.github.com/users/nexcode/followers","following_url":"https://api.github.com/users/nexcode/following{/other_user}","gists_url":"https://api.github.com/users/nexcode/gists{/gist_id}","starred_url":"https://api.github.com/users/nexcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nexcode/subscriptions","organizations_url":"https://api.github.com/users/nexcode/orgs","repos_url":"https://api.github.com/users/nexcode/repos","events_url":"https://api.github.com/users/nexcode/events{/privacy}","received_events_url":"https://api.github.com/users/nexcode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-06T18:02:37Z","updated_at":"2016-12-06T18:02:37Z","closed_at":null,"body":"Glade: https://yadi.sk/i/TnaMLyrw32P86v\r\n\r\nCode:\r\n> signals := map[string]interface{}{\r\n\t\t\"myhandler\": func(e *gtk.Button) {\r\n\t\t\tfmt.Println(e.GetLabel())\r\n\t\t},\r\n\t}\r\n\r\nIf I add another variable to the function, it will error:\r\n> \"myhandler\": func(e *gtk.Button, obj interface{}) {\r\n\r\nHow to get \"txt\" object in handler?"}}
{"actor":{"display_login":"nexcode"}}