has anyone found a workaround to get the focused control object from xbmcgui? i'd like to have onaction do different things in my script depending whether "b" was pushed with a button selected, or a list item.
devs, any change you could write a function in xbmcgui that would tell us which object was currently focused? i don't know how hard that would be, but it seems like whatever function sends the oncontrol message has access to that information....
i'd rather not have to track every directional keypress to try to predict which control they're on, but so far that's the only workaround i can think of.
alexpoet
How do you getFocus()
Alexpoet
Skilled Python Coder Posts: 172 Joined: Jun 2004 Reputation: 0 Location: Oklahoma City, OK |
2004-07-19 01:48
Post: #1
For scripts, script development tools, and documentation, visit my website: http://www.maskedfox.com/xbmc/ |
| find quote |

Search
Help