HOW-TO write GUI settings for XBMC python plugins and scripts (addons) - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Python Add-on Development (/forumdisplay.php?fid=26)
+--- Thread: HOW-TO write GUI settings for XBMC python plugins and scripts (addons) (/showthread.php?tid=29577)
- solexalex - 2010-07-29 23:44
I'll try these later and keep in touch
- TobiasTheCommie - 2010-08-28 14:38
Is it possible to add more pages to the settings window?
With a lot of settings the "general" view is quickly becoming cluttered, so it would be nice to add an "advanced" view.
- Nuka1195 - 2010-08-28 15:51
has an example script that has categories in settings.xml
- TobiasTheCommie - 2010-08-28 15:52
- teshephe - 2010-09-01 14:45
My question is that I have some items that the string can be quite long so how do I make it so when you edit a item that is too long, that it scrolls or the text in the edit box moves to the left as I cursor to the right to see what I am editing in the user interface?
- jmarshall - 2010-09-02 01:45
The Editcontrol automatically does this. I suspect, however, that you're referring to the virtualkeyboard which does not use an editcontrol.
- teshephe - 2010-09-03 01:56
jmarshall Wrote:The Editcontrol automatically does this. I suspect, however, that you're referring to the virtualkeyboard which does not use an editcontrol.
- teshephe - 2010-09-04 17:43
I am having a problem when I moved to the 10.0 BETA.. when I goto plugin/addon settings, not all of the settings are showing up. Again it is only in 10.0 (maybe a bug?)
The only items that show for editing or view on the addon setting dialogue are:
My code: (settings.xml)
- amet - 2010-09-04 20:47
look here, settings.xml layout has changed a bit
- teshephe - 2010-09-04 21:48
Amet Wrote:look here, settings.xml layout has changed a bit
Thanks. I did not see anything about int type
Seems that's the one that are not showing up. Any ideas?
I got it all working now w/ exception of the int type. Thanks for your help!
- amet - 2010-09-04 22:19
teshephe Wrote:Thanks. I did not see anything about int type
this should do it:
- teshephe - 2010-09-04 22:51
Amet Wrote:this should do it:
LOL!!! it's getting hard to keep up with the development! Thanks... that worked.
- teshephe - 2010-09-07 05:59
Anyway to specify a different font for a specific <setting> type="text" ?
settings not working at all - chippyash - 2010-09-09 20:20
this is r33532 running on Fedora
Selecting addon settings from context menu results in following from debug and no display of settings dialog
I can retrieve the setting using
dir = xbmcplugin.getSetting(self._pluginId,'gpoPath') - no problem
Do I need to initialise something in the script?
- amet - 2010-09-09 20:28