2005-07-28, 18:49
if i understand python correctly, when we do an import xbmc, xbmcgui, there has to be a xbmc, xbmcgui file located somewhere in the path. i cannot find these files anywhere.. the reason i'd like to know is because, i'd like to see if it is possible to modify xbmcgui.py so that when we set a control's controlup button, sometime later i can also retrieve the control which was passed to control up.
like a getcontrolup function could be added so we can get the control that the current control navigates to.
example
a=control(..)
b=control(..)
a.controlup(b)
it would be great to sometime be able to do the following:
c=a.getcontrolup()
now b==c..
i tried creating a class derived from controlbutton, but when running on xbmc, it complained about not being of type control. (of course the docs say this, but i didn't see it in time! )
any help is appreciated!
like a getcontrolup function could be added so we can get the control that the current control navigates to.
example
a=control(..)
b=control(..)
a.controlup(b)
it would be great to sometime be able to do the following:
c=a.getcontrolup()
now b==c..
i tried creating a class derived from controlbutton, but when running on xbmc, it complained about not being of type control. (of course the docs say this, but i didn't see it in time! )
any help is appreciated!