![]() |
|
[GUI] Elements to style User Interface - 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: [GUI] Elements to style User Interface (/showthread.php?tid=128422) |
[GUI] Elements to style User Interface - swehsos - 2012-04-10 15:32 Hello everyone, I'm desperately searching for a good guide to create a User Interface in XBMC. As far as I understand, Gui's are created via XML files - more or less like a website. Is there any good overview of style elements which can be used? Or does any of you know a homepage with a good Tutorial? We are planning to create a plugin for WebTV and need to present GUI mockups - kinda difficult to create without any XML reference... Is XML the way to go anyways? I found some documentation from 2006 which explains GUI Design in Python directly - seems outdated to me though. Any help will be highly appreciated Thanks in advance, guys
RE: [GUI] Elements to style User Interface - Bstrdsmkr - 2012-04-10 17:50 This should get you started: http://wiki.xbmc.org/index.php?title=XBMC_Skinning_Manual For all intents and purposes, you can use any of the information found on creating skins (same engine). If you're not a fan of xml, you can also create your gui programatically: 1. Create an instance of xbmcgui.Window() or xbmcgui.WindowDialog 2. Create an instance of the control you want 3. Add the control to your window/dialog instance via the window's .addControl() method 4. Show the window by calling one of it's methods, .show() or .doModal() PHP Code: mywindow = xbmcgui.WindowDialog() |