xbmcgui dialog types - Multiple buttons
#1
Hi,

I'd like to create a dialogue box with an explanatory text and three buttons - Cancel, Open Settings, Do not show again.

dialog.yesno only allows for two options. I looked through the documentation and there doesn't seem to be a dialog box that allows what I have in mind.

I'm wondering if it's just not supported or if there's a solution I'm overlooking.

Thanks!
Reply
#2
Have you considered using WindowXMLDialog?
You can customize it anyway you'd like including action buttons.
Reply
#3
kodi's yesno dialog does have three buttons, though the third one hasn't been made available to python addons.
i'll create a pr to fix that.
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
@jmooremcc I know it's an option but it feels like overkill since I don't use it anywhere in my add-on and it's for an error message that should be relatively rare.

@ronie That's great, thanks!
Reply
#5
17494 (PR)
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
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
xbmcgui dialog types - Multiple buttons00
This forum uses Lukasz Tkacz MyBB addons.