2007-07-24, 10:15
Hello all:
i'm doing some things in python and it seems to need in some circunstancies some new features in xbmcgui such as string ControlLabel.getLabel().
I know... when someone create a new label he knows the text in this label, but in some cases it will be useful and would save use of innecessary global variables.
When you want to make a ControlLabel that dinamically and conditionally change its text you should make a variable to store that text and evaluate it. In some cases that variable needs to be a global variable. It should not be neccesary.
Thanks for read and much many thanks for be there trying to understand what i mean
SAME (Sorry About My English)
i'm doing some things in python and it seems to need in some circunstancies some new features in xbmcgui such as string ControlLabel.getLabel().
I know... when someone create a new label he knows the text in this label, but in some cases it will be useful and would save use of innecessary global variables.
When you want to make a ControlLabel that dinamically and conditionally change its text you should make a variable to store that text and evaluate it. In some cases that variable needs to be a global variable. It should not be neccesary.
Thanks for read and much many thanks for be there trying to understand what i mean
SAME (Sorry About My English)