canAcceptMessages ?
#1
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
Reply
#2
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
Reply
#3
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.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#4
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
Reply

Logout Mark Read Team Forum Stats Members Help
canAcceptMessages ?0