May-02-2019, 08:44 AM
(This post was last modified: May-02-2019, 08:59 AM by microphone_head.)
(May-01-2019, 07:50 PM)Larz60+ Wrote: which label (to use as example)? you have many
Its seems to be working now, I was refering to the previous post (above) that was was attempting update the text in a label, this was done in the update method of the Appllication class.
self.lblpower.text = "any text value"Instead I found I could achieve the goal by using the config method:
self.lblpower.config(text=caption_pwr)
(May-01-2019, 11:24 PM)Yoriz Wrote: You can also treat the option name like a dictionary index
self.lblpower['text']=caption_pwrRef
https://docs.python.org/3/library/tkinte...-reference
https://docs.python.org/3/library/tkinte...el-options
or widget variables
https://docs.python.org/3/library/tkinte...-variables
Thanks for the web links , the handy reference looks more like my cup of tea.