xbmcgui.Dialog().select()
#1
hello,

i was playing with that to figure out if we can pass a list of listitem to this dialog to be able to use it as it is used for skin selection, with an iconImage.

all that i try failed, is it simply possible? it would be great use Big Grin
Reply
#2
It's not possible, no.
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
Reply
#3
ok, thanks, i'll got to find another way Big Grin
Reply
#4
you'll say i'm mad, but i've tried to find my way in this and here's is where i am:

Image

Image

Image

Image

for now, i'm just filling the list and use the DialogSelect.xml from the current skin, no big problem so far, but i've noticed that i've got a focus problem with skins using list with id=6 i can only focus item with mouse, no problem with night skin using only list id=3.

does someone knows what it can be ?
i suspect an overlap beetween the two list, but i'm using only the id=6 for this to work.
here's the code i use to test:
http://www.mediafire.com/download.php?6l61z1i7irm6i0v

nothing happens when clicking on image, not already implemented, i'm stucking with this focus problem.
launch it from video add on
Reply
#5
I've add self.setFocus(self.img_list) and it works on confluence on my pc.
else it is not possible to use FileBrowser.xml ? it's dialog used for fanart and poster selection. it display big image selected.
Reply
#6
thanks, it works Big Grin

i didn't manage to use panel type in filebrowser with my listitem list Sad
Reply
#7
I managed to display listitem in filebrowser but Listitem.Icon in image don't display anything.
same in all over skin file.
i don't know if it possible to display selected image in script Sad
Reply
#8
send me your code, i'll check if i can do it
Reply
#9
http://pastebin.com/JjtrMygv

is there a onSelchange event for listitem ? if yes, it is possible to manually change texture img when selection change. (need skinner add id for image tag)

Image
Reply
#10
here is a working code:

http://www.mediafire.com/download.php?o406ja7u7tkt1dk

it returns the selected url Big Grin

i've prevent focus to go on scrollbar, never find a way to return focus on the list after...

so it work now for all skin i've tested so far!

it should be included soon in logo downloader
Reply
#11
good job, works on cirrus skin with scrollbar (control 6)
can you add possibility to skinner to code his own xml ?
a try: w = MainGui( "ScriptLogoDialogSelect.xml") must work for those that want a different window for the logo.
Reply
#12
yep that could be done too, if not present use the dialogselect.xml good idea Big Grin
skinner just have to put a modded dialogselect.xml to have they're own dialog.
Reply

Logout Mark Read Team Forum Stats Members Help
xbmcgui.Dialog().select()0