Posts: 187
Joined: Feb 2016
Reputation:
2
2018-02-11, 22:56
(This post was last modified: 2018-02-11, 23:15 by telexxingou.)
Someone can explain what's the purpose of "canAcceptMessages" for controllist and button class in xbmcgui ?
May be a sample ?
with it, Can we add, an action when a key is pressed for an existing control ?
I would to show a dialog context menu when 'c' or 'm' is pressed but for existing control list in skin .....
but only oninfo, onup,onback,onleft,onright,ondown and onclick are available in XML skin code.....
thanks
Intel NUC 5YPPH-8Go-SSD120go-external drive 1To
Windows 10 PRO - Kodi Krypton 17 -
IconMix
Posts: 187
Joined: Feb 2016
Reputation:
2
2018-02-12, 09:44
(This post was last modified: 2018-02-12, 09:45 by telexxingou.)
sorry ...seen it's a boolean function....so return if control accept actionId ......
But is possible to show dialogcontextmenu in any control list and not only in main list (myvideonav) ?
Intel NUC 5YPPH-8Go-SSD120go-external drive 1To
Windows 10 PRO - Kodi Krypton 17 -
IconMix
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
i'm not sure where you found the info about 'canAcceptMessages' ?
sounds like something related to kodi python addons perhaps?
if this a questions about skins, then nope, you can not show a context menu anywhere.
Posts: 187
Joined: Feb 2016
Reputation:
2
2018-02-16, 21:37
(This post was last modified: 2018-02-16, 21:38 by telexxingou.)
ok
yes was for my addon script....
thank for your answer
Intel NUC 5YPPH-8Go-SSD120go-external drive 1To
Windows 10 PRO - Kodi Krypton 17 -
IconMix