Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GUI Progress Bar
#4
Thank you so much, that works beautifully on its own. I have another question. I have a class (shown below*) that I am trying to implement this class in. While the CreatingFinalImage() function is running, I want this progress bar to run. How can I do that?

*Note: I only showed a snippet of my code as it is 1100 lines long

class Window(Frame): #Frame is something inside of tkinter
    def __init__(self, master = None):
        Frame.__init__(self, master)
        self.init_window()
    def CreatingFinalImage(self):
        load2 = Image.open(self.picture1) #open the image
        blur = load2.filter(ImageFilter.GaussianBlur(radius=self.blur.get())) #this is a blur function, it makes the spots in the image diminish
        brightness = ImageEnhance.Brightness(blur)
        brightness = brightness.enhance(self.brightness.get()) #this is a brightness function, it brightens the image obviously
Reply


Messages In This Thread
GUI Progress Bar - by Anysja - Aug-21-2018, 10:54 PM
RE: GUI Progress Bar - by Larz60+ - Aug-22-2018, 02:34 AM
RE: GUI Progress Bar - by Axel_Erfurt - Aug-22-2018, 07:29 AM
RE: GUI Progress Bar - by Anysja - Aug-22-2018, 05:48 PM
RE: GUI Progress Bar - by Axel_Erfurt - Aug-22-2018, 06:18 PM
RE: GUI Progress Bar - by Anysja - Aug-22-2018, 06:54 PM
RE: GUI Progress Bar - by swetanjali - Aug-29-2018, 02:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How can I measure progress and display it in the progress bar in the interface? Matgaret 2 6,006 Dec-11-2019, 03:30 PM
Last Post: Denni
  [Tkinter] Progress Bar While Sending an Email maxtimbo 3 4,220 Oct-09-2019, 09:13 PM
Last Post: woooee
  Progress Bar While Sending an Email maxtimbo 0 2,163 Oct-08-2019, 02:13 PM
Last Post: maxtimbo
  [PyQt] cant import progress bar from another py file swipis 7 8,748 Dec-18-2016, 10:41 AM
Last Post: swipis

Forum Jump:

User Panel Messages

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