2016-08-23, 20:44
Hello!
I have a simple question. I have an add-on that displays multiple ControlButtons:
Then i listen for clicked buttons in def onControl(self, action) method. I wonder how can i simply get the index of clicked button or is this not possible?
Thank you!
I have a simple question. I have an add-on that displays multiple ControlButtons:
Code:
self.buttons = []
for i in data
name = i['full_name']
self.buttons.append(xbmcgui.ControlButton(....)
self.addControl(self.buttons[-1])
Thank you!