how to change skin on click of a button?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
slinuxgeek Offline
Senior Member
Posts: 219
Joined: Feb 2012
Reputation: 0
Post: #1
How can we switch to another skin, by clicking on a button, If we know the skin name which we want to switch to?
Suppose we want to switch back to confluence.
then what to write in:

<control type="button">
<onclick>ConfusedConfused?</onclick>
</control>

Thanks for Help.
find quote
Hitcher Online
Skilled Skinner
Posts: 11,029
Joined: Aug 2007
Reputation: 103
Location: Eastleigh, UK
Post: #2
I don't think it's possible.
find quote
slinuxgeek Offline
Senior Member
Posts: 219
Joined: Feb 2012
Reputation: 0
Post: #3
I copied DialogSelect.xml from confluence skin folder to my skin folder.
and on click of a button I fired : ActivateWindow(selectdialog)

a blank dialog appeared, then I copied all images from "skin.confluence/media" to "skin.my_skin/media"
even then the dialog window is blank.
It should display all available skins , so that I can select any one to apply , but it's not.
How to resolve the issue?

Thank You.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,221
Joined: Oct 2003
Reputation: 178
Post: #4
It's not possible to do this from the skin. You could probably do it from a script but it both wouldn't be reliable and wouldn't be advisable.

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.


[Image: badge.gif]
find quote