Posts: 274
Joined: Apr 2009
Reputation:
0
Leeuw
Senior Member
Posts: 274
Is it possible to open a "custom" yes/no dialog from within a skin? I can call xbmc.activatewindow(100), but is there any way to pass parameters to it?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Nope. What are you after exactly?
Posts: 274
Joined: Apr 2009
Reputation:
0
Leeuw
Senior Member
Posts: 274
Trying to make a button press pop up an "are you sure?" type window
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Ah, ok. So you need something like:
<onclick>Dialog.Confirm(heading,line1,line2,line3,function_to_do_if_confirmed)</onclick>
Post a feature request on trac, including any other ideas you might have.
Cheers,
Jonathan
Posts: 6,684
Joined: Mar 2009
Reputation:
147
phil65
Retired Team-Kodi Member
Posts: 6,684
bump. is this integrated yet?
Posts: 1,126
Joined: Mar 2012
Reputation:
37
MassIV
Skilled Skinner
Posts: 1,126
2012-08-04, 11:01
(This post was last modified: 2012-08-04, 11:04 by MassIV.)
bump. is this integrated yet?
Hitcher, your bitbucket link to the custom yes/no is dead.
I would be interested to see how you did it. Specially if you had a "function_to_do_if_confirmed" without using a script.
My next function would be to simply to open an "ok" dialog, nothing fancy.
[RELEASE] Metroid
[RELEASE] IrcChat