Apr-30-2020, 11:03 AM
TopRight.config['text'] = "Top Right Winch"
will not workLabels can be added to any other suitable widget, which includes frames.
they can be placed on frames, images, canvas and similar 'container type' widgets
Usage:
labelname.config(text = 'My new text')
the label must first exist.
there is also a special widget
w = tk.LabelFrame(parent, option, ...)
which will draw a frame around the widgets it contains, with the label embedded in the frame: