Python Forum
tkinter -- after() method and return from function -- (python 3)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tkinter -- after() method and return from function -- (python 3)
#7
I did go back and look at the code in your original post. Do not post code that depends on images or other files that are not available to other forum users. I cannot run your code. I could rewrite your code to use different image files, or I could create some images for the code, but do you really want me to put that much effort into helping you when I have other matters demanding my time? The same goes for module dependencies. Only import modules that are absolutely necessary to demonstrate the problem you are trying to solve. I don't use many images, so I don't have PILLOW installed.

Don't fill you code with unnecessary gewgaw. There is no reason to set fonts or colors or have stylesheets unless you are having a problem setting a font, a color, or applying a stylesheet. You shouldn't be filling your programs with this crap anyway until you have the skeleton working. Spending time designing a pretty dialog is a waste of time if you eventually discover that a different approach eliminates the need for a dialog.
Reply


Messages In This Thread
RE: tkinter -- after() method and return from function -- (python 3) - by deanhystad - Feb-20-2021, 06:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Using Tkinter inside function not working Ensaimadeta 5 5,163 Dec-03-2023, 01:50 PM
Last Post: deanhystad
  TKinter Widget Attribute and Method Quick Reference zunebuggy 3 914 Oct-15-2023, 05:49 PM
Last Post: zunebuggy
  Tkinter won't run my simple function AthertonH 6 4,000 May-03-2022, 02:33 PM
Last Post: deanhystad
  [Tkinter] tkinter best way to pass parameters to a function Pedroski55 3 4,954 Nov-17-2021, 03:21 AM
Last Post: deanhystad
  Creating a function interrupt button tkinter AnotherSam 2 5,617 Oct-07-2021, 02:56 PM
Last Post: AnotherSam
  [Tkinter] Have tkinter button toggle on and off a continuously running function AnotherSam 5 5,093 Oct-01-2021, 05:00 PM
Last Post: Yoriz
  return a variable from a function snakes 3 2,846 Apr-09-2021, 06:47 PM
Last Post: snakes
  tkinter get function finndude 2 3,008 Mar-02-2021, 03:53 PM
Last Post: finndude
  function in new window (tkinter) Dale22 7 5,290 Nov-24-2020, 11:28 PM
Last Post: Dale22
Star [Tkinter] How to perform math function in different page of Tkinter GUI ravaru 2 4,643 Oct-23-2020, 05:46 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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