Conditional views?
#1
What I would like to do is have the window layout be slightly different depending on what VIEW TYPE the user has selected in the Video Library.

So for example, if MEDIA INFO is the current view, the overall window layout would be one thing, if say LIST was the current view then the window layout would be slightly different.

How would I go about doing this if it is possible?

I'm guessing it would be something like setting up each window layout in its own <group> and then using conditional visibility to show the right one, but in that case i'm not sure what condition to check for to determine what view type is selected.
Reply
#2
i think using Control.IsVisible(#) where # is the id # of the list or thumb panel would work.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#3
Nuka1195 Wrote:i think using Control.IsVisible(#) where # is the id # of the list or thumb panel would work.

Ah yes I see where you are going. That makes sense. because whatever view type is selected, that appropriate control would be visible.

Thanks i'll give that a try!
Reply

Logout Mark Read Team Forum Stats Members Help
Conditional views?0