Interface freeze during long operations...



Hi all, I'm writing a GTK interface to a portscanner I've developed and,
well I'm stuck with the following problem:

basically I have a button that if pressed executes a function
that start the portscanning loop, and well during this loop
the GTK window just get frozen untill the loop is finished.

I've even tried to put the scan loop in a thread using pthreads
but it's the same story.

Can somebody just give me any tip on how generally this 
kind of things are handled in a GTK program ?

Thank you in advance.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]