Re: gthreads and file operations



On Wed, 14 Apr 2010 00:13:38 +0530
Nischal Rao <rao nischal gmail com> wrote:
 
is there any way to listen to signals without calling gtk_main()
(which never returns) ? If so, then i ll be able to get rid of
threads(happily!!).... I am new to glib threads and gnome signals.. i
have just been following examples that i found on the net.

Of course gtk_main() blocks, as it starts the main program event loop.
(You end the loop in order to terminate the program by calling
gtk_main_quit().)

Are you saying that you are using some external library which has its
own main loop?  If not, I don't understand your problem.  If you are
using such an external library, how are you interfacing (or trying to
interface) between the two?

Chris





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