{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/6327","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/6327/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/6327/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/6327/events","html_url":"https://github.com/xbmc/xbmc/pull/6327","id":56282819,"number":6327,"title":"Add optional .index() to Control.GetLabel() allowing access to secondary...","user":{"login":"ruuk","id":3951023,"avatar_url":"https://avatars.githubusercontent.com/u/3951023?v=3","gravatar_id":"","url":"https://api.github.com/users/ruuk","html_url":"https://github.com/ruuk","followers_url":"https://api.github.com/users/ruuk/followers","following_url":"https://api.github.com/users/ruuk/following{/other_user}","gists_url":"https://api.github.com/users/ruuk/gists{/gist_id}","starred_url":"https://api.github.com/users/ruuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruuk/subscriptions","organizations_url":"https://api.github.com/users/ruuk/orgs","repos_url":"https://api.github.com/users/ruuk/repos","events_url":"https://api.github.com/users/ruuk/events{/privacy}","received_events_url":"https://api.github.com/users/ruuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-02-02T19:40:50Z","updated_at":"2015-02-19T07:55:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/6327","html_url":"https://github.com/xbmc/xbmc/pull/6327","diff_url":"https://github.com/xbmc/xbmc/pull/6327.diff","patch_url":"https://github.com/xbmc/xbmc/pull/6327.patch"},"body":"This change allows adding .index() to the Control.GetLabel() infolabel. This allows retrieval of secondary labels such as the text of an edit control (which is also implemented by this change) but in the future could be used to access all the labels of a fade label control, etc. My main reason for adding this is because Kodi's changes to the keyboard dialog made the keyboard unusable to blind users using the Speech addon, although it will help later for implementing access to other control's text that the Speech addon currently cannot access.\r\n\r\nExample usage:\r\n```\r\n<info>Control.GetLabel(300).index(1)</info>\r\n```\r\n\r\n\r\nI don't claim to be confident with C++, so please let me know if I've done something stupid or if my implementation should be changed somehow."},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/75011208","html_url":"https://github.com/xbmc/xbmc/pull/6327#issuecomment-75011208","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/6327","id":75011208,"user":{"login":"topfs2","id":475283,"avatar_url":"https://avatars.githubusercontent.com/u/475283?v=3","gravatar_id":"","url":"https://api.github.com/users/topfs2","html_url":"https://github.com/topfs2","followers_url":"https://api.github.com/users/topfs2/followers","following_url":"https://api.github.com/users/topfs2/following{/other_user}","gists_url":"https://api.github.com/users/topfs2/gists{/gist_id}","starred_url":"https://api.github.com/users/topfs2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topfs2/subscriptions","organizations_url":"https://api.github.com/users/topfs2/orgs","repos_url":"https://api.github.com/users/topfs2/repos","events_url":"https://api.github.com/users/topfs2/events{/privacy}","received_events_url":"https://api.github.com/users/topfs2/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T07:55:39Z","updated_at":"2015-02-19T07:55:39Z","body":"How did the script get the keys before? Just assumed the order I reckon?"}}