Kodi Community Forum

Full Version: Dialog with multiple buttons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does anyone know how to add multiple buttons on a dialog box.

I want to have 3-4 different buttons in a dialog box so that when 1 is pushed something happens. Right now I only know how to do yesno and ok dialog box.



Any help would be greatly appriciated
(2015-03-03, 22:44)dc3hawaii Wrote: [ -> ]Does anyone know how to add multiple buttons on a dialog box.

I want to have 3-4 different buttons in a dialog box so that when 1 is pushed something happens. Right now I only know how to do yesno and ok dialog box.



Any help would be greatly appriciated

You can start here, plenty of good examples for you to play with:

http://kodi.wiki/view/HOW-TO:Write_Pytho...dialog_box

What you want can be found in 1.4.8 Lists
Or you could knock something up with PyXBMCt.
Do you mean something like this
(2015-03-04, 00:00)Lunatixz Wrote: [ -> ]
(2015-03-03, 22:44)dc3hawaii Wrote: [ -> ]Does anyone know how to add multiple buttons on a dialog box.

I want to have 3-4 different buttons in a dialog box so that when 1 is pushed something happens. Right now I only know how to do yesno and ok dialog box.



Any help would be greatly appriciated

You can start here, plenty of good examples for you to play with:

http://kodi.wiki/view/HOW-TO:Write_Pytho...dialog_box

What you want can be found in 1.4.8 Lists


thank you for helping me. I tried that lists. That is kind of what I wanted. But when I push on one of those buttons. it does a certain thing. I cant seem to figure out how to do it. Can you point me in the right direction. I tried the other examples on that page but come up with weird results. I just want a dialog with 3 buttons. that when I push one button it does a certain thing.

thanks for the help