Posts: 274
Joined: Apr 2009
Reputation:
0
Leeuw
Senior Member
Posts: 274
Subject should be self-explanatory - wondering if it is possible to cause a multiimage control to advance to the next image from a button press?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
skin can't do input (that's a no)
Posts: 274
Joined: Apr 2009
Reputation:
0
Leeuw
Senior Member
Posts: 274
That's what I thought, thanks -- is it worth making a feature request in trac?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
it would surely need to be more thought through than this, i.e. much more general than just applying to the multiimage control
Posts: 26,215
Joined: Oct 2003
Reputation:
187
A generic "send message" interface would do what you want (i.e. a generalisation of the SendClick builtin).
The key would be identifying which messages to include, and unifying the handling of those messages within controls.
Perhaps you could research the list of what is currently possible to send to controls (eg focusing, sending clicks and the like) and what would be nice to have. Including any parameters those functions need to be able to take (eg focus can take at least 1 subitem value I think, possibly 2 in the little-used lists utilizing multiselect controls).
Cheers,
Jonathan