xbmcgui.Window().getControl(id)



Looking at the documentation for xbmcgui.Window class getControl() and also kodi_stubs

According to the documentation:

Code:
Note
Not python controls are not completely usable yet You can only use the Control functions

I guess kodi_stubs tries to enforce this by annotating the return as xbmcgui.Control instance.

However, at least for xml windows it looks like getControl actually returns one of the subclasses like ControlButton.  I see a lot of example code that is calling methods from the subclass such as setLabel().  So what is the reality on what getControl() does and what subclass methods should work?

scott s.
.