You can change the contents of a static_text dynamically via the .title property -- do you need more than that?
I think I only tried binding the title.
I assume you mean explicitly re-assigning the title property - I don't think I tried that.
That would be enough for now - just need to go back and rewrite some plugins...
I just reviewed my plugins, and I have several that assign the static_text.title property, but none that bind it. The idiom in the Any Tag
plugin is to have an array of static_texts that get assigned dynamically via static_text.title. When you have an array, it's easier simply to assign the .title property than to make up unique bind() strings, so that's why I never tried binding, I think.
I've definitely bound the title property of a static_text control in a number of plugins. It works fine so I don't think we need a new dynamic_text control.
The only item you need to be wary of is the width will be set to support the initial value only. So you may need to use fill_horizontal or explicitly set the width value to allow space for the future values it will be displaying.
I'll be darned.
I must have done something stupid when I checked this, like forgetting to specify a correct bind-to object or something. I'll have to reassess.
For now, I'm assuming "operator error" on my part.
UPDATE: Yep - my bad...
I can see where keeping arrays and reassigning might be better than
trying to have unique binding keys for each array element - thanks for the tip John.