Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84005

Calling a function with dialog.select

$
0
0
Hi.

I want to use dialog.select to do go to a specific location like this. All parametres must go to function 1, function 2, function 3... Is that possible?

[Image: BnsbK.png]

example:

Code:
def servidores_filmes(url, name, thumbnail):
        dialog = xbmcgui.Dialog()
        call = dialog.select('Escolha o Stream', ['Function 1' , 'Function 2', 'Function 3'])

def function1(url,name,thumbnail):
        #the content of function 1

def function2(url,name,thumbnail):
        #the content of function 2

def function3(url,name,thumbnail):
        #the content of function 3

Thanks! Smile

Viewing all articles
Browse latest Browse all 84005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>