Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tkinter
#1
Hello

I'm trying to create a crude "fade in" for some writing using the "label" widget.

I've created a "loop" using "root.after(100,Loop)", each iteration of the loop is 100mS.

I created a list with the colours I wish to go through to fade, starting from very light grey going to black within 5 loops, through each loop the index of the list increments.

This all works well, BUT I'm getting an awful flickering whilst it loops, is there any way to combat this?

Please see .mp4 video from my onedrive.

Video

Thanks in advance

Kind Regards
Reply
#2
an example: https://stackoverflow.com/a/44180478
Reply
#3
Thanks, the example is using pictures though, I need to do this with interchangeable text unfortunately.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020