Posts: 13
Joined: Mar 2014
Reputation:
0
I am fairly new to XBMC script writing so I apologize if this is a ridiculous question. I am having trouble adding a picture or image to my xbmc python script. When I place a .png or .jpg into the root folder my script will not load the image when I run the script. The stock pictures that cam with the pyxbmct demo work fine. I want to load a picture when I click on a button. Is this possible?
Posts: 1,088
Joined: Nov 2012
Reputation:
51
Halp!
I want to add a Context Menu to my addon which currently displays a list using DialogSelect.xml. All good on Amber skin, the context window opens above the Dialog, but for others (like Aeon Nox or even Confluence) it opens behind the Dialog.
The Aeon Nox xml has a z-order of 4 while the Amber xml has a z-order of 3. But then the xml in Confluence has a z-order of 1. So that cant be the issue.
Is it a setFocus I am omitting?
Posts: 1,088
Joined: Nov 2012
Reputation:
51
I was using PyXBMCt to create the window so thought it was a setting in that.
But I have since tried creating my own window and xml, and the same thing happens, so it must be something else.
I will put up a separate post in the python forum.
Posts: 1
Joined: Apr 2014
Reputation:
0
Hello,
I have just discovered PyXBMCt and I love it !
Does it possible to navigate through different AddonXXXWindow ?
The goal is to have 2 buttons (next/prev) on each pages.
Do you have an exemple somewhere ?
Thank you in advance for your help
Posts: 4
Joined: Aug 2012
Reputation:
0
Thanks for PyXBMCt Roman, I'm finding it useful.
A small problem:
I'm activating my add-on (AddonDialogWindow) by means of a 'RunScript' in keyboard.xml which is fine except that it is not modal - ie if I press the key several times then I get several dialog windows stacked up. Is there a fix or work-around for this?
Posts: 28
Joined: Apr 2014
Reputation:
0
Dipti
Junior Member
Posts: 28
Hello Roman_V_M,
I am using Edit () control for password, but when I am going to set last parameter's (isPassword) value = 1
It is giving error.
I want to set first 3 parameter's values Label,font,color and lastone isPassword as follows but it is giving problem.
self.passwordText = Edit('Password','font10','0xFFFFFFFF',"0xFFFF3300",1,"s","g",int(1))
Please, tell me how to use this edit function in case of password.