[Tkinter-discuss] Windows inaccessible while a module is running

Gigs_ gigs at hi.t-com.hr
Wed Mar 5 17:55:37 CET 2008


Amit Finkler wrote:
> Hi,
>
>
> 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?
>
>
> Thanks,
>
>
> Amit.
>
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss
>
>   
you will need to make thread for that function to separate execution 
from gui


More information about the Tkinter-discuss mailing list