Leeuw
Senior Member Joined: Apr 2009 Reputation: 0 |
2009-05-24 09:52
Post: #1
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?
Aeon Faq- (Very Unofficial) Aeon FAQ Aeon Mods/Fixes- [MOD] List View rev2 / [FIX] Contextual fanart in music list / [MOD] Multiplex C-Thru / [MOD] Night Themed Fullscreen Info |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,570 Joined: Oct 2003 Reputation: 138 |
2009-05-24 09:53
Post: #2
Nope. What are you after exactly?
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
Leeuw
Senior Member Joined: Apr 2009 Reputation: 0 |
2009-05-24 11:27
Post: #3
Trying to make a button press pop up an "are you sure?" type window
Aeon Faq- (Very Unofficial) Aeon FAQ Aeon Mods/Fixes- [MOD] List View rev2 / [FIX] Contextual fanart in music list / [MOD] Multiplex C-Thru / [MOD] Night Themed Fullscreen Info |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,570 Joined: Oct 2003 Reputation: 138 |
2009-05-24 11:38
Post: #4
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 Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
Leeuw
Senior Member Joined: Apr 2009 Reputation: 0 |
2009-05-24 12:41
Post: #5
jmarshall Wrote:Ah, ok. So you need something like: Exactly! Ok, I will post on trac later today Aeon Faq- (Very Unofficial) Aeon FAQ Aeon Mods/Fixes- [MOD] List View rev2 / [FIX] Contextual fanart in music list / [MOD] Multiplex C-Thru / [MOD] Night Themed Fullscreen Info |
| find quote |
phil65
Skilled Skinner Posts: 4,458 Joined: Mar 2009 Reputation: 56 Location: Cologne, Germany |
2012-03-25 16:34
Post: #6
bump. is this integrated yet?
|
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2012-03-25 16:58
Post: #7
![]() |
| find quote |
phil65
Skilled Skinner Posts: 4,458 Joined: Mar 2009 Reputation: 56 Location: Cologne, Germany |
2012-03-25 17:10
Post: #8
(2012-03-25 16:58)Hitcher Wrote: Just make a custom one. already did that, nonetheless this would be useful to clean up the code. |
| find quote |
`Black
Skilled Skinner Joined: Apr 2009 Reputation: 51 Location: Germany |
2012-03-25 17:14
Post: #9
Use a script.
|
| find quote |
phil65
Skilled Skinner Posts: 4,458 Joined: Mar 2009 Reputation: 56 Location: Cologne, Germany |
2012-03-25 17:25
Post: #10
which one?
will stay with my custom window then, was just wondering if a nicer/shorter soulution would be possible.
|
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
![[Image: sig_zps3af3b48e.jpg]](http://i620.photobucket.com/albums/tt289/Arcanthur/Celestium/sig_zps3af3b48e.jpg)
![[Image: xp1080-21.png]](http://www.planet-ira.de/wallpaper/xp1080-21.png)
will stay with my custom window then, was just wondering if a nicer/shorter soulution would be possible.
Search
Help