WindowXML GUI Toolkit (replaces GUIBuilder for XBMC python scripts for GUI coding)
Nuka1195
Skilled Python Coder Posts: 3,917 Joined: Dec 2004 Reputation: 17 |
2007-09-18 15:27
Post: #171
Thanks for the fix JMarshall
|
| find quote |
BigBellyBilly
Skilled Python Coder Posts: 959 Joined: Feb 2005 Reputation: 2 Location: UK |
2008-02-29 15:26
Post: #172
Somtime ago in this thread, Basje posted a question about the lookup order that's used to find an image, but I didn't see an answer in reply.
My question is simliar; Can/Does/Could WindowXML fallback to lookup images in the Default media folder if not in <current skin name>/media folder ? That way there wouldn't be a need to include duplicate images that are common to several skins, in every skin media folder. If there's a way to get it to behave like that, please tell me ? Thanks BBB My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net |
| find quote |
borick
Skilled Python Coder Posts: 69 Joined: Aug 2008 Reputation: 0 Location: Canada |
2008-08-29 23:26
Post: #173
Regarding the built in lists in WindowXML...
- When I use an icon image, and I specify path to the image, it works. When I delete the list item, and recreate the image file, then specify path to same image file, the image shown is same as last time, i.e. the image doens't refresh to the new image. At least, this behaviour occured in builds previous to 08-25 by T3CH. On the T3CH 08-25 build this behaviour was somewhat rectified. Can anyone confirm or deny this behavior? - I get memory problems, out of buffer memory errors when using WindowXML in conjunction with a list container containing thumbnail images. I didn't receive the same errors using a list control under guibuilder.py. Confirm or deny? Thanks! |
| find quote |
Gamester17
Team-XBMC Forum Moderator Joined: Sep 2003 Reputation: 9 Location: Sweden |
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 |
borick
Skilled Python Coder Posts: 69 Joined: Aug 2008 Reputation: 0 Location: Canada |
2008-08-30 23:02
Post: #175
Ok i discover the true source of the problem causing my memory errors. I had too much work being done in OnInit which shouldnt be there.
Do not put any cpu intensive code in onInit! Keep it fast!!! |
| find quote |
Temhil
Skilled Python Coder Joined: Apr 2008 Reputation: 1 Location: Canada |
2008-12-18 18:12
Post: #176
Hi Guys,
I am pretty new using WindowXML (I was using the old API before for doing script GUI, but WindowXML is 100 time more powerful!) and I have notice a weird thing at least on Window (and Mac too) platform when I use a mouse. If with my mouse I click on a button, that works, nice! BUT, if I try to do the same with a list item, nothing happens, I need to press Enter. Selection of the item works, but not the mouse click. I tried to capture the mouse event in the OnAction methose using code from key.h ACTION_MOUSE 90 ACTION_MOUSE_CLICK 100 ACTION_MOUSE_LEFT_CLICK 100 ACTION_MOUSE_RIGHT_CLICK 101 ACTION_MOUSE_MIDDLE_CLICK 102 And the only one i can capture is 90 (mouse mouvement so), but Mouse click, nothing. It is anoying since the user on windows can not click on an item on a list with only the mouse, he needs to use the keyboard. Do you have any idea, why it is like that? Or what am I doing wrong? Thanks in advance for your help. ![]() _____________________________ Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only) ![]() |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2008-12-18 23:32
Post: #177
Sounds like they're not being passed on from the XBMC side. Post a trac ticket about it including the exact actions you wish to be able to pick up and so on.
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 |
Basje
Skilled Python Coder Posts: 984 Joined: Jul 2005 Reputation: 4 |
2008-12-18 23:47
Post: #178
jmarshall Wrote:Sounds like they're not being passed on from the XBMC side. Post a trac ticket about it including the exact actions you wish to be able to pick up and so on. If this could be done, it would be awsome!
|
| find quote |
Nuka1195
Skilled Python Coder Posts: 3,917 Joined: Dec 2004 Reputation: 17 |
2008-12-19 00:31
Post: #179
i posted one awhile ago. ignored as usual.
|
| find quote |
catalytic
Junior Member Posts: 12 Joined: Dec 2008 Reputation: 0 |
2008-12-19 05:36
Post: #180
Hi,
I have started playing with XBMC only a few days back. So, please excuse me if following seem too dumb a question ( I too have a feeling that I am missing something obvious here): I did not find an API for adding listitems to a specific list. So, in a window that has more than one list with id outside 50-60 range, how is the "window list" determined? Is there a way to update such lists in any way? Any inputs would be much appreciated. Thanks much in advance. |
| find quote |

![[Image: passionxbmc_signature.png]](http://jahnrik.free.fr/passionxbmc_signature.png)
![[Image: project_thin_badge.gif]](http://www.ohloh.net/p/passion-xbmc/widgets/project_thin_badge.gif)
![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
Search
Help