On Wed, Mar 05, 2008 at 05:55:37PM +0100, Gigs_ wrote:
                        .
                        .
                        .
> > I wrote a simple GUI with tkinter which executes a function when
> > pressing a button. When I press the button, the function indeed executes
> > starts running itself (it's a loop which draws a graph using gnuplot).
> > As long as the loop is running, I can't access the GUI - it's grayed
> > out. Only when I break the loop can I properly see the GUI back again.
> >
> >
> > Is this something you're familiar with or did I define the GUI improperly?
                        .
                        .
                        .
> you will need to make thread for that function to separate execution 
> from gui
                        .
                        .
                        .
Coding with threads certainly is one common approach.  As
the e-mail I just sent hints, it's not the only one--and
sometimes not the best.
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to