How to add a control to the home window programatically?
#1
How do I add a control from the home window

For example:

If I created a label
label = xbmcgui.ControlLabel(100, 250, 125, 75, 'Status', angle=45)


How would I add this control to the home window programaticlly?

I assume I would have to get the home window somehow, then add the new control to it.

Thanks in advance!
Reply
#2
(2013-11-24, 05:07)nickthemagicman Wrote: How do I add a control from the home window

For example:

If I created a label
label = xbmcgui.ControlLabel(100, 250, 125, 75, 'Status', angle=45)


How would I add this control to the home window programaticlly?

I assume I would have to get the home window somehow, then add the new control to it.

Thanks in advance!

You need to create a xbmcgui.Window instance with a proper ID and then add your control to that instance.
Reply

Logout Mark Read Team Forum Stats Members Help
How to add a control to the home window programatically?0