Python Forum
[Tkinter] GUI Speed
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] GUI Speed
#5
(Jul-20-2020, 06:25 PM)deanhystad Wrote: I shaved a whole 3% off by using Canvas.itemconfig to set the rectangle color instead of deleting all the rectangles

Thanks for your efforts. Any improvement is significant because i view this from the
perspective of many inerations (steps). I will look into the "item-config", which i did not know of.

Your remark about the cells being objects, put me on the trace of another possible improvement.
If i can determine the predominant color beforehand, i don't need to create those objects,
if the canvas is that color already.
If all that is not satisfactory, maybe pygame will come into the picture, which i never used before.

thx,
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Messages In This Thread
GUI Speed - by DPaul - Jul-20-2020, 07:49 AM
RE: GUI Speed - by deanhystad - Jul-20-2020, 01:59 PM
RE: GUI Speed - by DPaul - Jul-20-2020, 02:50 PM
RE: GUI Speed - by deanhystad - Jul-20-2020, 06:25 PM
RE: GUI Speed - by DPaul - Jul-21-2020, 06:38 AM

Forum Jump:

User Panel Messages

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