gtk_main loop



	
Hello everyone,
I have a problem concerning gtk_main. My application
contains a top_level window that has a command line
for entering some scripting language. The problem is
that for this script interpreter (API function) to
start it has to go in an infinite loop waiting for
user input. At the same time,
I have to be able to call my gtk_main function inorder
to start the whole gui. 

Do you have any suggestions? Can I put each function
in a thread?? Or this will stop gtk_main from
receiving events from the application?
BTW, I am using gtk+1.2.

Thanks
RYounis

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



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