WindowXML child window?
#1
Hi all,

am I going about this in the right way?

I have a WindowXMLDialg that opens up with a list on it, depending on which item you select from the list I want another window to slide into view.

I have:

Code:
...

        popup = ChildClass(self)
        popup .doModal()
        del popup
...

class ChildClass(xbmcgui.WindowXMLDialog):
  def onInit(self):
  ..blah

...

The error I get is:
Code:
10:09:01 T:4188 M:1322807296  NOTICE: popup = ChildClass(self)
10:09:01 T:4188 M:1322790912  NOTICE: TypeError
10:09:01 T:4188 M:1322774528  NOTICE: :
10:09:01 T:4188 M:1322758144  NOTICE: function takes at least 2 arguments (1 given)

I can only see where it would want one argument, so am a little lost (again!)
Reply

Logout Mark Read Team Forum Stats Members Help
WindowXML child window?0