Jul-03-2023, 04:23 PM
(Jul-03-2023, 03:29 PM)deanhystad Wrote: Odd example. print() is python 3, but Tkinter (with a capital T, is python 2).
If you want the label to appear in root, specify root as the parent. I don't know what "window" is.
You should really post your own code, the code you are asking questions about, instead of the code you have based your code upon.
Your second question makes no sense. It would probably make sense if you posted the code that does configuring and has a help button.
I find it very difficult to believe that you spent 4 days searching and have not learned how to set the text in a label. I took me 10 seconds to find the answer googling. "How to set tkinter label text". You already have a function that is triggered by a mouse move event, so you don't need to research that. The function even gets the x and y position of the mouse.
If you still have questions, feel free to post another question, but this time post your own code.
Thank You for spending 10 seconds, telling Im a failure. Due to age and illness my brain works slower. But I can ensure You, I didnt even close Your arrogance in front of my pupils teaching them fortran, cobol up to days programming, microcontrollers and others My brain is redusewd but still recognize arrogance. Yoou probably will find my last Parkinson app searhing. I learn by reading others code combined with videos. Wonder how You got so smart?.