2016-08-22, 16:24
(2016-08-22, 16:02)selli69 Wrote: Thanks for your quick reply!
As you can see in the code, there are TWO buttons: one hello and one close button. both of them dont work. Look at the code I posted, i promise by my mothers life, there are two buttons.. I used this code from your doc
Sorry, I have thought you have played with PyXBMCt example addon. As for your problem, I'm afraid, there is a bug in "Blank" windows that prevent connected functions from firing. I need to fix that. "Normal" windows should work OK.
Quote:One further problem:
As playing around a little more, i added a discrete running thread, which should update the text of a label in the gui. The update works, but it seems to "overwrite" the label in graphics without clearing the previous content, so there is a mashup with all the updated texts. Is it possible to "clear" a control?
And this is Python 101. Instead of updating an existing Label, you are creating a new instance of Label on the same spot over and over again so that multiple Labels are continuously stacked one of top of another.